318 references to WRN_NullabilityMismatchInArgument
Microsoft.CodeAnalysis.CSharp (6)
Errors\ErrorFacts.cs (3)
34
nullableWarnings.Add(GetId(ErrorCode.
WRN_NullabilityMismatchInArgument
));
451
case ErrorCode.
WRN_NullabilityMismatchInArgument
:
1963
or ErrorCode.
WRN_NullabilityMismatchInArgument
FlowAnalysis\NullableWalker.cs (2)
11418
ReportDiagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
,
11435
ReportDiagnostic(forOutput ? ErrorCode.WRN_NullabilityMismatchInArgumentForOutput : ErrorCode.
WRN_NullabilityMismatchInArgument
,
Generated\ErrorFacts.Generated.cs (1)
212
case ErrorCode.
WRN_NullabilityMismatchInArgument
:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (22)
Attributes\AttributeTests_Nullable.cs (5)
1107
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("B1", "A<object?>", "y", "void C.F(A<object> x, A<object?> y)").WithLocation(8, 14),
1110
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("B2", "A<object>", "x", "void C.F(A<object> x, A<object?> y)").WithLocation(9, 11));
1162
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("A", "I<object?>", "y", "void C.F(I<object> x, I<object?> y)").WithLocation(9, 14),
1165
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("B", "I<object>", "x", "void C.F(I<object> x, I<object?> y)").WithLocation(10, 11));
1212
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "b").WithArguments("B", "I<(object, object)>", "a", "void C.F(I<(object, object)> a, I<(object, object?)> b)").WithLocation(9, 11));
FirstClassSpanTests.cs (5)
4076
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "b").WithArguments("string?[]", "System.Span<string>", "arg", "void C.M1(Span<string> arg)").WithLocation(7, 17),
4079
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "a").WithArguments("string[]", "System.Span<string?>", "arg", "void C.M2(Span<string?> arg)").WithLocation(8, 9),
4082
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "b").WithArguments("string?[]", "System.ReadOnlySpan<string>", "arg", "void C.M3(ReadOnlySpan<string> arg)").WithLocation(9, 17));
4105
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "b").WithArguments("System.Span<string?>", "System.ReadOnlySpan<string>", "arg", "void C.M1(ReadOnlySpan<string> arg)").WithLocation(7, 17));
4128
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "b").WithArguments("System.ReadOnlySpan<string?>", "System.ReadOnlySpan<object>", "arg", "void C.M1(ReadOnlySpan<object> arg)").WithLocation(7, 17));
Semantics\CollectionExpressionTests.cs (1)
35098
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "element1").WithArguments("Container<string?>", "Container<string>", "item", "void List<Container<string>>.Add(Container<string> item)").WithLocation(6, 26));
Semantics\ExtensionOperatorsTests.cs (6)
9624
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "z").WithArguments("C2<string?>", "C2Base<string>", "x", "Extensions1.extension(C2Base<string>)").WithLocation(19, 20)
17958
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("C1<C2?>", "C1<C2>", "y", "C1<C2> C1<C2>.operator &(C1<C2> x, C1<C2> y)").WithLocation(27, 15),
17961
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "z").WithArguments("C1<C2?>", "C1<C2>", "y", "C1<C2> C1<C2>.operator &(C1<C2> x, C1<C2> y)").WithLocation(30, 15)
18315
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("C1<C2?>", "C1<C2>", "x", "C1<C2> C1<C2>.operator &(C1<C2> x, C1<C2> y)").WithLocation(25, 10),
18318
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("C1<C2?>", "C1<C2>", "y", "C1<C2> C1<C2>.operator &(C1<C2> x, C1<C2> y)").WithLocation(26, 15)
26377
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "z").WithArguments("C2<string?>", "C2Base<string>", "x", "Extensions1.extension(C2Base<string>)").WithLocation(19, 18)
Semantics\ExtensionTests2.cs (5)
1615
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s2").WithArguments("S<object>", "S<object?>", "o", "E.extension(ref S<object?>)").WithLocation(7, 5),
1618
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s3").WithArguments("S<object?>", "S<object>", "o", "E.extension(ref S<object>)").WithLocation(10, 5));
1660
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s2").WithArguments("S<object>", "S<object?>", "o", "E.extension(in S<object?>)").WithLocation(7, 5),
1663
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s3").WithArguments("S<object?>", "S<object>", "o", "E.extension(in S<object>)").WithLocation(10, 5)
2527
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "First").WithArguments("System.Collections.Generic.List<string?>", "System.Collections.Generic.List<string>", "list", "ListExtensions.extension(List<string>)").WithLocation(15, 23));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (289)
Semantics\NullableReferenceTypesTests.cs (289)
885
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "L(o2)").WithArguments("C<object>", "C<object?>", "index", "int C<object?>.this[C<object?> index]").WithLocation(11, 14),
888
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "L(o)").WithArguments("C<object?>", "C<object>", "index", "int C<object>.this[C<object> index]").WithLocation(13, 15)
5404
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "new C6()").WithArguments("C6", "Base<object?>", "b", "void Program.F(Base<object?> b)").WithLocation(15, 11),
5407
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "new C7()").WithArguments("C7", "Base<object?>", "b", "void Program.F(Base<object?> b)").WithLocation(16, 11),
5410
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "new C9()").WithArguments("C9", "Base<object?>", "b", "void Program.F(Base<object?> b)").WithLocation(18, 11));
5417
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "new C6()").WithArguments("C6", "Base<object?>", "b", "void Program.F(Base<object?> b)").WithLocation(15, 11),
5420
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "new C7()").WithArguments("C7", "Base<object?>", "b", "void Program.F(Base<object?> b)").WithLocation(16, 11),
5423
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "new C9()").WithArguments("C9", "Base<object?>", "b", "void Program.F(Base<object?> b)").WithLocation(18, 11));
5430
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "new C1()").WithArguments("C1", "Base<object?>", "b", "void Program.F(Base<object?> b)").WithLocation(10, 11),
5433
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "new C3()").WithArguments("C3", "Base<object?>", "b", "void Program.F(Base<object?> b)").WithLocation(12, 11),
5436
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "new C4()").WithArguments("C4", "Base<object?>", "b", "void Program.F(Base<object?> b)").WithLocation(13, 11),
5439
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "new C6()").WithArguments("C6", "Base<object?>", "b", "void Program.F(Base<object?> b)").WithLocation(15, 11),
5442
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "new C7()").WithArguments("C7", "Base<object?>", "b", "void Program.F(Base<object?> b)").WithLocation(16, 11),
5445
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "new C9()").WithArguments("C9", "Base<object?>", "b", "void Program.F(Base<object?> b)").WithLocation(18, 11));
6520
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "new object?[] { null }").WithArguments("object?[]", "object[]", "o", "MyAttribute.MyAttribute(params object[] o)").WithLocation(5, 5)
6543
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "new object?[] { null }").WithArguments("object?[]", "object[]", "o", "MyAttribute.MyAttribute(object[] o)").WithLocation(5, 5)
6933
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "new string?[]{ null }").WithArguments("string?[]", "string[]", "s", "MyAttribute.MyAttribute(string[] s)").WithLocation(8, 14)
6976
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, @"new []{ ""str"", null }").WithArguments("string?[]", "string[]", "s", "MyAttribute.MyAttribute(string[] s)").WithLocation(8, 14)
18885
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("I<object?>", "I<object>", "x", "void C.G(I<object> x, params I<object?>[] y)").WithLocation(7, 11),
18888
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<object>", "I<object?>", "y", "void C.G(I<object> x, params I<object?>[] y)").WithLocation(8, 14),
18891
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<object>", "I<object?>", "y", "void C.G(I<object> x, params I<object?>[] y)").WithLocation(8, 17),
18894
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<object>", "I<object?>", "y", "void C.G(I<object> x, params I<object?>[] y)").WithLocation(10, 14),
18900
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "z").WithArguments("I<object>", "I<object?>", "y", "void C.G(I<object> x, params I<object?>[] y)").WithLocation(10, 20),
18906
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<object>", "I<object?>", "y", "void C.G(I<object> x, params I<object?>[] y)").WithLocation(11, 14),
18909
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("I<object?>", "I<object>", "x", "void C.G(I<object> x, params I<object?>[] y)").WithLocation(11, 20),
18915
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "new[] { x, x }").WithArguments("I<object>[]", "I<object?>[]", "y", "void C.G(I<object> x, params I<object?>[] y)").WithLocation(15, 14),
18918
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "new[] { x, y, z }").WithArguments("I<object>[]", "I<object?>[]", "y", "void C.G(I<object> x, params I<object?>[] y)").WithLocation(19, 14),
18924
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "new[] { x, x }").WithArguments("I<object>[]", "I<object?>[]", "y", "void C.G(I<object> x, params I<object?>[] y)").WithLocation(20, 14),
18927
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("I<object?>", "I<object>", "x", "void C.G(I<object> x, params I<object?>[] y)").WithLocation(20, 33)
19578
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x1").WithArguments("CL0<string?>", "CL0<string>", "x", "void C.M1(ref CL0<string> x)").WithLocation(12, 16),
19584
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x3").WithArguments("CL0<string?>", "CL0<string>", "x", "void C.M3(CL0<string> x)").WithLocation(26, 12));
36021
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s2").WithArguments("C<string>", "C<string?>", "s", "void C<T>.M(ref C<string?> s)").WithLocation(9, 15));
38849
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "i").WithArguments("I<object>", "I<object?>", "x", "void C.ThrowIfNull(I<object?> x, string? s)").WithLocation(8, 21)
56639
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "map").WithArguments("C<string, string>", "C<string, string?>", "dictionary", "string? Extensions.GetOrAdd<string, string?>(C<string, string?> dictionary, string key, Func<string, string?> function)").WithLocation(13, 9),
56642
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "map").WithArguments("C<string, string>", "C<string, string?>", "dictionary", "string? Extensions.GetOrAdd<string, string?>(C<string, string?> dictionary, string key, Func<string, string?> function)").WithLocation(14, 9),
56645
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "map").WithArguments("C<string, string>", "C<string, string?>", "dictionary", "string? Extensions.GetOrAdd<string, string?>(C<string, string?> dictionary, string key, Func<string, string?> function)").WithLocation(15, 9)
58225
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x1 ?? y1").WithArguments("IIn<object>", "IIn<object?>", "x", "void C.FIn(IIn<object?>? x)").WithLocation(22, 14),
58228
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y1 ?? x1").WithArguments("IIn<object>", "IIn<object?>", "x", "void C.FIn(IIn<object?>? x)").WithLocation(23, 14),
58237
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "FIn(x3) ?? FIn(y3)").WithArguments("IIn<object>", "IIn<object?>", "x", "void C.FIn(IIn<object?>? x)").WithLocation(34, 14),
58240
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "FIn(y3) ?? FIn(x3)").WithArguments("IIn<object>", "IIn<object?>", "x", "void C.FIn(IIn<object?>? x)").WithLocation(35, 14),
58243
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "FIn(x3) ?? FIn(y3)").WithArguments("IIn<object>", "IIn<object?>", "x", "void C.FIn(IIn<object?>? x)").WithLocation(37, 14),
61773
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("I<object>", "I<object?>", "y", "int C.this[I<string> x, I<object?> y]").WithLocation(7, 16),
61776
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<string?>", "I<string>", "x", "int C.this[I<string> x, I<object?> y]").WithLocation(15, 16));
61804
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("B<object?>", "A<object>", "item", "void List<A<object>>.Add(A<object> item)").WithLocation(11, 13));
62749
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "new { x = y, y = x }").WithArguments("<anonymous type: T? x, T y>", "<anonymous type: T x, T? y>", "y", "void Program.F<<anonymous type: T x, T? y>>(<anonymous type: T x, T? y> x, <anonymous type: T x, T? y> y)").WithLocation(9, 25),
62752
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "new { x = y, y = x }").WithArguments("<anonymous type: T? x, T y>", "<anonymous type: T x, T? y>", "y", "void Program.F<<anonymous type: T x, T? y>>(<anonymous type: T x, T? y> x, <anonymous type: T x, T? y> y)").WithLocation(11, 33),
62755
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "new { x, y }").WithArguments("<anonymous type: T x, T? y>", "<anonymous type: T? x, T y>", "y", "void Program.F<<anonymous type: T? x, T y>>(<anonymous type: T? x, T y> x, <anonymous type: T? x, T y> y)").WithLocation(13, 33));
68643
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "c").WithArguments("C<string?>", "C<string>", "c", "CustomHandler.CustomHandler(int literalLength, int formattedCount, C<string> c)").WithLocation(7, 1)
68900
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "c").WithArguments("C<string?>", "C<string>", "c", "CustomHandler.CustomHandler(int literalLength, int formattedCount, C<string> c)").WithLocation(7, 5)
73763
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "z").WithArguments("B<object>", "A<object?>", "a", "void C.G(A<object?> a)").WithLocation(18, 11)
73797
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("B<object?>", "A<object>", "a", "void C.G(params A<object>[] a)").WithLocation(16, 11)
73997
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<object>", "I<object?>", "x", "void C.G(I<object?> x, IIn<object?> y, IOut<object?> z)").WithLocation(8, 11),
74000
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("IIn<object>", "IIn<object?>", "y", "void C.G(I<object?> x, IIn<object?> y, IOut<object?> z)").WithLocation(8, 14),
74003
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<object?>", "I<object>", "x", "void C.F(I<object> x, IIn<object> y, IOut<object> z)").WithLocation(12, 11),
74006
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "z").WithArguments("IOut<object?>", "IOut<object>", "z", "void C.F(I<object> x, IIn<object> y, IOut<object> z)").WithLocation(12, 17));
74066
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<object>", "I<object?>", "x", "void C.G(ref I<object?> x, ref IIn<object?> y, ref IOut<object?> z)").WithLocation(8, 15),
74069
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("IIn<object>", "IIn<object?>", "y", "void C.G(ref I<object?> x, ref IIn<object?> y, ref IOut<object?> z)").WithLocation(8, 22),
74072
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "z").WithArguments("IOut<object>", "IOut<object?>", "z", "void C.G(ref I<object?> x, ref IIn<object?> y, ref IOut<object?> z)").WithLocation(8, 29),
74075
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<object?>", "I<object>", "x", "void C.F(ref I<object> x, ref IIn<object> y, ref IOut<object> z)").WithLocation(12, 15),
74078
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("IIn<object?>", "IIn<object>", "y", "void C.F(ref I<object> x, ref IIn<object> y, ref IOut<object> z)").WithLocation(12, 22),
74081
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "z").WithArguments("IOut<object?>", "IOut<object>", "z", "void C.F(ref I<object> x, ref IIn<object> y, ref IOut<object> z)").WithLocation(12, 29));
74106
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<object>", "I<object?>", "x", "void C.G(in I<object?> x, in IIn<object?> y, in IOut<object?> z)").WithLocation(8, 14),
74109
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("IIn<object>", "IIn<object?>", "y", "void C.G(in I<object?> x, in IIn<object?> y, in IOut<object?> z)").WithLocation(8, 20),
74112
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<object?>", "I<object>", "x", "void C.F(in I<object> x, in IIn<object> y, in IOut<object> z)").WithLocation(12, 14),
74115
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "z").WithArguments("IOut<object?>", "IOut<object>", "z", "void C.F(in I<object> x, in IIn<object> y, in IOut<object> z)").WithLocation(12, 26));
74171
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<object>", "I<object?>", "o", "void E.F2A(I<object?> o)").WithLocation(17, 9),
74174
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("I<object?>", "I<object>", "o", "void E.F2B(I<object> o)").WithLocation(20, 9),
74177
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("IIn<object>", "IIn<object?>", "o", "void E.F3A(IIn<object?> o)").WithLocation(26, 9),
74180
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("IOut<object?>", "IOut<object>", "o", "void E.F4B(IOut<object> o)").WithLocation(38, 9));
74258
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("I<object>", "I<object?>", "y", "object C.this[I<string> x, I<object?> y]").WithLocation(7, 16),
74261
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<string?>", "I<string>", "x", "object C.this[I<string> x, I<object?> y]").WithLocation(14, 16));
75208
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("I<object?>", "I<object>", "x", "I<object> C.operator +(I<object> x, C y)").WithLocation(12, 9),
75217
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("IOut<object?>", "IOut<object>", "x", "IOut<object> C.operator +(IOut<object> x, C y)").WithLocation(22, 9)
79902
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("D<object?>", "D<object>", "key", "void D<int>.Add(D<object>? key, params D<object>?[] value)").WithLocation(19, 28),
79905
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("D<object?>", "D<object>", "key", "void D<int>.Add(D<object>? key, params D<object>?[] value)").WithLocation(19, 32),
79911
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("C<object>", "C<object?>", "key", "void C<int>.Add(C<object?> key, params C<object?>[] value)").WithLocation(9, 28),
79914
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("C<object>", "C<object?>", "key", "void C<int>.Add(C<object?> key, params C<object?>[] value)").WithLocation(9, 31)
80006
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("C<object?>", "I<object>", "o", "void E.F1(I<object> o)").WithLocation(7, 9),
80009
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("C<object>", "I<object?>", "o", "void E.F2(I<object?> o)").WithLocation(9, 9)
80137
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "c").WithArguments("List<string?>", "List<string>", "b", "void C.F(ref List<string> a, ref List<string>? b, ref List<string?> c, ref List<string?>? d)").WithLocation(10, 22),
80146
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "a").WithArguments("List<string>", "List<string?>", "d", "void C.F(ref List<string> a, ref List<string>? b, ref List<string?> c, ref List<string?>? d)").WithLocation(10, 36),
80194
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "c").WithArguments("List<string?>", "List<string>", "b", "void C.F(ref List<string> a, ref List<string>? b, ref List<string?> c, ref List<string?>? d)").WithLocation(15, 22),
80209
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "a").WithArguments("List<string>", "List<string?>", "d", "void C.F(ref List<string> a, ref List<string>? b, ref List<string?> c, ref List<string?>? d)").WithLocation(15, 36),
83921
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "(x, y)").WithArguments("(string x, string? y)", "(string, string)", "t", "void E.F1A((string, string) t)").WithLocation(16, 13),
83924
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "(x, y)").WithArguments("(object x, object? y)", "(object, object)", "t", "void E.F1C((object, object) t)").WithLocation(18, 13),
83939
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "(x, y)").WithArguments("(A<object> x, A<object?> y)", "(A<object>, A<object>)", "t", "void E.F2A((A<object>, A<object>) t)").WithLocation(31, 13),
83942
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "(x, y)").WithArguments("(A<object> x, A<object?> y)", "(A<object?>, A<object?>)", "t", "void E.F2B((A<object?>, A<object?>) t)").WithLocation(32, 13),
84432
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "(x, y)").WithArguments("(string x, string? y)", "(object, object)", "t", "void E.F1A((object, object) t)").WithLocation(11, 9),
84435
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "(x, y)").WithArguments("(A<object> x, A<object?> y)", "(I<object>, I<object>)", "t", "void E.F2A((I<object>, I<object>) t)").WithLocation(18, 9),
84438
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "(x, y)").WithArguments("(A<object> x, A<object?> y)", "(I<object?>, I<object?>)", "t", "void E.F2B((I<object?>, I<object?>) t)").WithLocation(19, 9),
84441
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "(x, y)").WithArguments("(B<object> x, B<object?> y)", "(IIn<object?>, IIn<object?>)", "t", "void E.F3B((IIn<object?>, IIn<object?>) t)").WithLocation(26, 9),
84444
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "(x, y)").WithArguments("(C<object> x, C<object?> y)", "(IOut<object>, IOut<object>)", "t", "void E.F4A((IOut<object>, IOut<object>) t)").WithLocation(32, 9));
84492
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "t1").WithArguments("(string x, string?)", "(object, object)", "t", "void E.F1A((object, object) t)").WithLocation(11, 9),
84495
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "t2").WithArguments("(A<object>, A<object?>)", "(I<object>, I<object>)", "t", "void E.F2A((I<object>, I<object>) t)").WithLocation(18, 9),
84498
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "t2").WithArguments("(A<object>, A<object?>)", "(I<object?>, I<object?>)", "t", "void E.F2B((I<object?>, I<object?>) t)").WithLocation(19, 9),
84501
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "t3").WithArguments("(B<object>, B<object?>)", "(IIn<object?>, IIn<object?>)", "t", "void E.F3B((IIn<object?>, IIn<object?>) t)").WithLocation(26, 9),
84504
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "t4").WithArguments("(C<object>, C<object?>)", "(IOut<object>, IOut<object>)", "t", "void E.F4A((IOut<object>, IOut<object>) t)").WithLocation(32, 9));
84549
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "t1").WithArguments("(string, string)?", "(string?, string?)?", "t", "void E.F1A((string?, string?)? t)").WithLocation(8, 9),
84552
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "t2").WithArguments("(I<object?>, I<object?>)?", "(I<object>, I<object>)?", "t", "void E.F2B((I<object>, I<object>)? t)").WithLocation(16, 9),
84555
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "t3").WithArguments("(IIn<object?>, IIn<object?>)?", "(IIn<object>, IIn<object>)?", "t", "void E.F3B((IIn<object>, IIn<object>)? t)").WithLocation(23, 9),
84558
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "t4").WithArguments("(IOut<object?>, IOut<object?>)?", "(IOut<object>, IOut<object>)?", "t", "void E.F4B((IOut<object>, IOut<object>)? t)").WithLocation(30, 9));
84581
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "t").WithArguments("(string, (string, string)?)", "(object, (string?, string?)?)", "t", "void E.FA((object, (string?, string?)?) t)").WithLocation(5, 9));
84697
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "t1").WithArguments("(string, string)", "(string, string?)", "t", "string C.F<string>(ref (string, string?) t)").WithLocation(7, 15),
84700
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "t3").WithArguments("(string?, string)", "(string, string?)", "t", "string C.F<string>(ref (string, string?) t)").WithLocation(11, 15),
84703
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "t4").WithArguments("(string?, string?)", "(string, string?)", "t", "string C.F<string>(ref (string, string?) t)").WithLocation(13, 15));
84772
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<(string, string)>", "I<(string, string?)>", "t", "string C.F<string>(I<(string, string?)> t)").WithLocation(9, 11),
84775
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "z").WithArguments("I<(string?, string)>", "I<(string, string?)>", "t", "string C.F<string>(I<(string, string?)> t)").WithLocation(11, 11),
84778
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "w").WithArguments("I<(string?, string?)>", "I<(string, string?)>", "t", "string C.F<string>(I<(string, string?)> t)").WithLocation(12, 11),
84781
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("IIn<(string, string)>", "IIn<(string, string?)>", "t", "string C.F<string>(IIn<(string, string?)> t)").WithLocation(17, 11),
84784
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "z").WithArguments("IIn<(string?, string)>", "IIn<(string, string?)>", "t", "string C.F<string>(IIn<(string, string?)> t)").WithLocation(19, 11),
84787
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "w").WithArguments("IIn<(string?, string?)>", "IIn<(string, string?)>", "t", "string C.F<string>(IIn<(string, string?)> t)").WithLocation(20, 11),
84790
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("IOut<(string, string)>", "IOut<(string, string?)>", "t", "string C.F<string>(IOut<(string, string?)> t)").WithLocation(25, 11),
84793
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "z").WithArguments("IOut<(string?, string)>", "IOut<(string, string?)>", "t", "string C.F<string>(IOut<(string, string?)> t)").WithLocation(27, 11),
84796
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "w").WithArguments("IOut<(string?, string?)>", "IOut<(string, string?)>", "t", "string C.F<string>(IOut<(string, string?)> t)").WithLocation(28, 11)
85550
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "(y, x)").WithArguments("(object? y, object x)", "(object, object?)", "item6", "(object?, object, object?, object, object?, (object, object?), object, object, object?, object).ValueTuple(object? item1, object item2, object? item3, object item4, object? item5, (object, object?) item6, object item7, (object, object?, object) rest)").WithLocation(12, 13),
85553
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "(x, y, y)").WithArguments("(object x, object?, object?)", "(object, object?, object)", "rest", "(object?, object, object?, object, object?, (object, object?), object, object, object?, object).ValueTuple(object? item1, object item2, object? item3, object item4, object? item5, (object, object?) item6, object item7, (object, object?, object) rest)").WithLocation(14, 13),
88702
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "(y, x)").WithArguments("(string? y, string x)", "(string x, string? y)", "t", "C.C((string x, string? y) t)").WithLocation(9, 19),
88705
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "(y, y)").WithArguments("(string?, string?)", "(string x, string? y)", "t", "C.C((string x, string? y) t)").WithLocation(10, 19));
88731
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "(y, x)").WithArguments("(string? y, string x)", "(string x, string? y)", "t", "object? C.this[(string x, string? y) t]").WithLocation(10, 15),
88734
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "(y, y)").WithArguments("(string?, string?)", "(string x, string? y)", "t", "object? C.this[(string x, string? y) t]").WithLocation(11, 15),
88737
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "t").WithArguments("(string? y, string x)", "(string x, string? y)", "t", "object? C.this[(string x, string? y) t]").WithLocation(13, 15));
88762
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "(y, x)").WithArguments("(string? y, string x)", "(string, string?)", "item", "void List<(string, string?)>.Add((string, string?) item)").WithLocation(10, 13),
88765
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "(y, y)").WithArguments("(string?, string?)", "(string, string?)", "item", "void List<(string, string?)>.Add((string, string?) item)").WithLocation(11, 13));
92272
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "c").WithArguments("C<string>", "C<string?>", "c", "IEnumerator<int> CExt.GetEnumerator<string?>(C<string?> c, string? t = null)").WithLocation(8, 27)
92931
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x1").WithArguments("I<string>", "I<string?>", "t", "string C.F1<string>(I<string?> t)").WithLocation(10, 12),
92934
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x2").WithArguments("I<string>", "I<string?>", "t", "string C.F2<string>(I<string?> t)").WithLocation(19, 12));
93099
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y1").WithArguments("I<string?>", "I<string>", "y", "I<string> C.F<I<string>>(I<string> x, I<string> y)").WithLocation(8, 15),
93102
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y1").WithArguments("I<string?>", "I<string>", "x", "I<string> C.F<I<string>>(I<string> x, I<string> y)").WithLocation(10, 11)
93217
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x1").WithArguments("I<IOut<string?>>", "I<IOut<string>>", "x", "I<IOut<string>> C.F<I<IOut<string>>>(I<IOut<string>> x, I<IOut<string>> y)").WithLocation(9, 11),
93220
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x1").WithArguments("I<IOut<string?>>", "I<IOut<string>>", "y", "I<IOut<string>> C.F<I<IOut<string>>>(I<IOut<string>> x, I<IOut<string>> y)").WithLocation(11, 15)
93261
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("B<string?>", "B<string>", "x", "string C.F<string>(B<string> x, B<string> y)").WithLocation(8, 11),
93264
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("B<string?>", "B<string>", "y", "string C.F<string>(B<string> x, B<string> y)").WithLocation(10, 14)
93322
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("B<object?>", "B<object>", "x", "B<object> Program.F<B<object>>(B<object> x, B<object> y, B<object> z)").WithLocation(8, 11),
93325
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("B<object?>", "B<object>", "y", "B<object> Program.F<B<object>>(B<object> x, B<object> y, B<object> z)").WithLocation(8, 14),
93328
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("B<object?>", "B<object>", "x", "B<object> Program.F<B<object>>(B<object> x, B<object> y, B<object> z)").WithLocation(10, 11),
93331
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("B<object?>", "B<object>", "z", "B<object> Program.F<B<object>>(B<object> x, B<object> y, B<object> z)").WithLocation(10, 17),
93334
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("B<object?>", "B<object>", "x", "B<object> Program.F<B<object>>(B<object> x, B<object> y, B<object> z)").WithLocation(11, 11),
93337
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("B<object?>", "B<object>", "x", "B<object> Program.F<B<object>>(B<object> x, B<object> y, B<object> z)").WithLocation(12, 11),
93340
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("B<object?>", "B<object>", "x", "B<object> Program.F<B<object>>(B<object> x, B<object> y, B<object> z)").WithLocation(14, 11),
93343
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("B<object?>", "B<object>", "y", "B<object> Program.F<B<object>>(B<object> x, B<object> y, B<object> z)").WithLocation(16, 14),
93346
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("B<object?>", "B<object>", "z", "B<object> Program.F<B<object>>(B<object> x, B<object> y, B<object> z)").WithLocation(16, 17),
93349
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("B<object?>", "B<object>", "y", "B<object> Program.F<B<object>>(B<object> x, B<object> y, B<object> z)").WithLocation(17, 14),
93352
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("B<object?>", "B<object>", "y", "B<object> Program.F<B<object>>(B<object> x, B<object> y, B<object> z)").WithLocation(18, 14),
93355
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("B<object?>", "B<object>", "z", "B<object> Program.F<B<object>>(B<object> x, B<object> y, B<object> z)").WithLocation(19, 17),
93358
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("B<object?>", "B<object>", "z", "B<object> Program.F<B<object>>(B<object> x, B<object> y, B<object> z)").WithLocation(22, 17),
93361
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("B<object?>", "B<object>", "y", "B<object> Program.F<B<object>>(B<object> x, B<object> y, B<object> z)").WithLocation(26, 14),
93364
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("B<object?>", "B<object>", "z", "B<object> Program.F<B<object>>(B<object> x, B<object> y, B<object> z)").WithLocation(28, 17)
93404
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "CreateB(y)").WithArguments("B<string>", "B<string?>", "y", "string? C.F<string?>(string? x, B<string?> y)").WithLocation(9, 14)
93449
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "CreateB(x)").WithArguments("B<string?>", "B<string>", "y", "string C.F<string>(IIn<string> x, B<string> y)").WithLocation(13, 25)
93507
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y1").WithArguments("IIn<object?, string?>", "IIn<object, string>", "y", "IIn<object, string> C.F<IIn<object, string>>(IIn<object, string> x, IIn<object, string> y)").WithLocation(8, 15),
93510
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y1").WithArguments("IIn<object?, string?>", "IIn<object, string>", "x", "IIn<object, string> C.F<IIn<object, string>>(IIn<object, string> x, IIn<object, string> y)").WithLocation(10, 11),
93513
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y2").WithArguments("IOut<object?, string?>", "IOut<object, string?>", "y", "IOut<object, string?> C.F<IOut<object, string?>>(IOut<object, string?> x, IOut<object, string?> y)").WithLocation(21, 15),
93516
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y2").WithArguments("IOut<object?, string?>", "IOut<object, string?>", "x", "IOut<object, string?> C.F<IOut<object, string?>>(IOut<object, string?> x, IOut<object, string?> y)").WithLocation(23, 11)
93542
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("IOut<string?>", "IOut<object>", "y", "IOut<object> Program.F<IOut<object>>(IOut<object> x, IOut<object> y)").WithLocation(7, 14));
93581
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "CreateIIn(x1)").WithArguments("IIn<IIn<string?>>", "IIn<IIn<string>>", "z", "IIn<string> Program.FIn<IIn<string>>(IIn<string> x, IIn<string> y, IIn<IIn<string>> z)").WithLocation(11, 21),
93584
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "CreateIIn(y2)").WithArguments("IIn<IOut<string>>", "IIn<IOut<string?>>", "z", "IOut<string?> Program.FIn<IOut<string?>>(IOut<string?> x, IOut<string?> y, IIn<IOut<string?>> z)").WithLocation(19, 21));
93692
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("B<object?, string>", "B<object, string>", "x", "B<object, string> C.F<B<object, string>>(B<object, string> x, B<object, string> y)").WithLocation(13, 11),
93695
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("B<object, string?>", "B<object, string>", "y", "B<object, string> C.F<B<object, string>>(B<object, string> x, B<object, string> y)").WithLocation(13, 14),
93698
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "z").WithArguments("B<object?, string>", "B<object, string?>", "y", "B<object, string?> C.F<B<object, string?>>(B<object, string?> x, B<object, string?> y)").WithLocation(16, 14),
93701
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("B<object, string?>", "B<object, string>", "x", "B<object, string> C.F<B<object, string>>(B<object, string> x, B<object, string> y)").WithLocation(17, 11)
93748
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("IIn<B<object?, string>>", "IIn<B<object, string>>", "x", "B<object, string> C.F<B<object, string>>(IIn<B<object, string>> x, IIn<B<object, string>> y)").WithLocation(13, 11),
93751
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("IIn<B<object, string?>>", "IIn<B<object, string>>", "y", "B<object, string> C.F<B<object, string>>(IIn<B<object, string>> x, IIn<B<object, string>> y)").WithLocation(13, 14),
93754
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "z").WithArguments("IIn<B<object?, string>>", "IIn<B<object, string?>>", "y", "B<object, string?> C.F<B<object, string?>>(IIn<B<object, string?>> x, IIn<B<object, string?>> y)").WithLocation(16, 14),
93757
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("IIn<B<object, string?>>", "IIn<B<object, string>>", "x", "B<object, string> C.F<B<object, string>>(IIn<B<object, string>> x, IIn<B<object, string>> y)").WithLocation(17, 11)
94016
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y1").WithArguments("I<(object?, string?)>", "I<(object, string)>", "y", "I<(object, string)> C.F<I<(object, string)>>(I<(object, string)> x, I<(object, string)> y)").WithLocation(12, 15),
94019
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y1").WithArguments("I<(object?, string?)>", "I<(object, string)>", "x", "I<(object, string)> C.F<I<(object, string)>>(I<(object, string)> x, I<(object, string)> y)").WithLocation(14, 11),
94022
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y2").WithArguments("IIn<(object?, string?)>", "IIn<(object, string)>", "y", "IIn<(object, string)> C.F<IIn<(object, string)>>(IIn<(object, string)> x, IIn<(object, string)> y)").WithLocation(26, 15),
94025
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y2").WithArguments("IIn<(object?, string?)>", "IIn<(object, string)>", "x", "IIn<(object, string)> C.F<IIn<(object, string)>>(IIn<(object, string)> x, IIn<(object, string)> y)").WithLocation(28, 11),
94028
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x3").WithArguments("IOut<(object, string)>", "IOut<(object?, string?)>", "x", "IOut<(object?, string?)> C.F<IOut<(object?, string?)>>(IOut<(object?, string?)> x, IOut<(object?, string?)> y)").WithLocation(40, 11),
94031
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x3").WithArguments("IOut<(object, string)>", "IOut<(object?, string?)>", "y", "IOut<(object?, string?)> C.F<IOut<(object?, string?)>>(IOut<(object?, string?)> x, IOut<(object?, string?)> y)").WithLocation(42, 15));
94143
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y1").WithArguments("I<string?>", "I<string>", "y", "string C.F<string>(I<string> x, I<string> y)").WithLocation(13, 15),
94146
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y1").WithArguments("I<string?>", "I<string>", "x", "string C.F<string>(I<string> x, I<string> y)").WithLocation(14, 11),
94213
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x1").WithArguments("I<string>", "I<string?>", "y", "string C.F<string>(I<string> x, I<string?> y)").WithLocation(12, 15),
94216
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y1").WithArguments("I<string?>", "I<string>", "x", "string C.F<string>(I<string> x, I<string?> y)").WithLocation(14, 11),
94219
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x1").WithArguments("I<string>", "I<string?>", "y", "string C.F<string>(I<string> x, I<string?> y)").WithLocation(14, 15),
94222
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y1").WithArguments("I<string?>", "I<string>", "x", "string C.F<string>(I<string> x, I<string?> y)").WithLocation(15, 11),
94225
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x2").WithArguments("IIn<string>", "IIn<string?>", "y", "string C.F<string>(IIn<string> x, IIn<string?> y)").WithLocation(23, 15),
94228
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x2").WithArguments("IIn<string>", "IIn<string?>", "y", "string C.F<string>(IIn<string> x, IIn<string?> y)").WithLocation(25, 15),
94328
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x7.A2").WithArguments("A<object?>", "A<object>", "x", "A<object> C.F<A<object>>(A<object> x, A<object> y)").WithLocation(30, 11),
94331
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y8.A2").WithArguments("A<object?>", "A<object>", "y", "A<object> C.F<A<object>>(A<object> x, A<object> y)").WithLocation(34, 18)
96897
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s").WithArguments("S", "(A, A?)?", "t", "void Program.F2((A, A?)? t)").WithLocation(16, 12));
107933
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "b2").WithArguments("ID<string>", "ID<string?>", "x", "void B.M1<ID<string?>>(ID<string?> x)").WithLocation(38, 25),
131420
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "a").WithArguments("A<object?>", "B", "b", "void Program.F(B b)").WithLocation(13, 11));
131450
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "b").WithArguments("B", "A<object?>", "a", "void Program.F(A<object?> a)").WithLocation(13, 11));
133934
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "p").WithArguments("Pair<object, object?>", "Pair<object?, object>", "p", "void E.Deconstruct(Pair<object?, object>? p, out object x, out object? y)").WithLocation(12, 34),
134131
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "b").WithArguments("B", "A<object?, object>", "a", "void E.Deconstruct(A<object?, object> a, out object? x, out object y)").WithLocation(15, 34),
134177
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "e").WithArguments("Pair<object, object?>", "Pair<object?, object>", "p", "void E.Deconstruct(Pair<object?, object> p, out object? x, out object y)").WithLocation(21, 40),
134186
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "e").WithArguments("Pair<object, object?>", "Pair<object?, object>", "p", "void E.Deconstruct(Pair<object?, object> p, out object? x, out object y)").WithLocation(26, 51),
134236
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "e").WithArguments("Pair<object, object?>", "Pair<object?, object>", "p", "void E.Deconstruct(Pair<object?, object> p, out object? x, out object y)").WithLocation(25, 40),
134245
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "e").WithArguments("Pair<object, object?>", "Pair<object?, object>", "p", "void E.Deconstruct(Pair<object?, object> p, out object? x, out object y)").WithLocation(30, 51),
136499
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "g").WithArguments("G<string?>", "G<string>", "o", "bool G<T>.M2(G<string> o)").WithLocation(8, 12),
136502
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "g").WithArguments("G<string?>", "G<string>", "o", "bool G<T>.M2(G<string> o)").WithLocation(14, 16),
138990
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<T>", "I<T?>", "x", "void C.Test2<T>(I<T?> x)").WithLocation(10, 15)
141752
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "z").WithArguments("C<T?>", "C<T>", "b", "C<T> C<T>.operator +(C<T> a, C<T> b)").WithLocation(44, 17),
141755
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("C<T>", "C<T?>", "b", "C<T?> C<T?>.operator +(C<T?> a, C<T?> b)").WithLocation(46, 17));
141817
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "z").WithArguments("C<T?>", "C<T>", "b", "C<T> C<T>.operator -(C<T> a, C<T> b)").WithLocation(44, 17),
141820
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("C<T>", "C<T?>", "b", "C<T?> C<T?>.operator -(C<T?> a, C<T?> b)").WithLocation(46, 17));
141885
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "z").WithArguments("C<T?>", "C<T>", "b", "C<T> C<T>.operator *(C<T> a, C<T> b)").WithLocation(47, 17),
141888
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("C<T>", "C<T?>", "b", "C<T?> C<T?>.operator *(C<T?> a, C<T?> b)").WithLocation(49, 17));
141940
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "z").WithArguments("C<T?>", "C<T>", "b", "C<T> C<T>.operator +(C<T> a, C<T> b)").WithLocation(34, 17),
141943
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("C<T>", "C<T?>", "b", "C<T?> C<T?>.operator +(C<T?> a, C<T?> b)").WithLocation(36, 17));
141994
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "z").WithArguments("C<T?>", "C<T>", "b", "C<T> C<T>.operator -(C<T> a, C<T> b)").WithLocation(33, 17),
141997
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("C<T>", "C<T?>", "b", "C<T?> C<T?>.operator -(C<T?> a, C<T?> b)").WithLocation(35, 17));
142053
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "z").WithArguments("C<T?>", "C<T>", "b", "C<T> C<T>.operator *(C<T> a, C<T> b)").WithLocation(38, 17),
142056
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("C<T>", "C<T?>", "b", "C<T?> C<T?>.operator *(C<T?> a, C<T?> b)").WithLocation(40, 17));
146622
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y").WithArguments("I<object?>", "I<object>", "y", "object I<object>.operator +(I<object> x, I<object> y)").WithLocation(12, 21),
146625
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<object>", "I<object?>", "y", "object? I<object?>.operator +(I<object?> x, I<object?> y)").WithLocation(13, 17)
146911
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "by").WithArguments("B<T>", "B<T?>", "b", "A<T?> A<T?>.operator +(A<T?> a, B<T?> b)").WithLocation(25, 15),
146914
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "bx").WithArguments("B<T?>", "B<T>", "b", "A<T> A<T>.operator +(A<T> a, B<T> b)").WithLocation(26, 15),
146920
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "ax").WithArguments("A<T?>", "A<T>", "a", "A<T> B<T>.operator *(A<T> a, B<T> b)").WithLocation(29, 10),
146926
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "ay").WithArguments("A<T>", "A<T?>", "a", "A<T?> B<T?>.operator *(A<T?> a, B<T?> b)").WithLocation(30, 10));
146980
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "by").WithArguments("B<T>", "B<T?>", "b", "A<T?> A<T?>.operator +(A<T?> a, B<T?> b)").WithLocation(25, 16),
146983
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "bx").WithArguments("B<T?>", "B<T>", "b", "A<T> A<T>.operator +(A<T> a, B<T> b)").WithLocation(26, 16),
146992
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "ax").WithArguments("A<T?>", "A<T>", "a", "A<T> B<T>.operator *(A<T> a, B<T> b)").WithLocation(29, 10),
146998
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "ay").WithArguments("A<T>", "A<T?>", "a", "A<T?> B<T?>.operator *(A<T?> a, B<T?> b)").WithLocation(30, 10),
147062
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "b1y").WithArguments("B1<T>", "B1<T?>", "b", "A1<T?> A1<T?>.operator +(A1<T?> a, B1<T?> b)").WithLocation(32, 16),
147065
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "b1x").WithArguments("B1<T?>", "B1<T>", "b", "A1<T> A1<T>.operator +(A1<T> a, B1<T> b)").WithLocation(33, 16),
147074
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "b2y").WithArguments("B2<T>", "B2<T?>", "b", "A2<T?> A2<T?>.operator *(A2<T?> a, B2<T?> b)").WithLocation(36, 16),
147077
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "b2x").WithArguments("B2<T?>", "B2<T>", "b", "A2<T> A2<T>.operator *(A2<T> a, B2<T> b)").WithLocation(37, 16));
147124
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s1y").WithArguments("S<T>", "S<T?>", "y", "S<T?> S<T?>.operator +(S<T?> x, S<T?> y)").WithLocation(20, 16),
147127
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s1x").WithArguments("S<T?>", "S<T>", "y", "S<T> S<T>.operator +(S<T> x, S<T> y)").WithLocation(21, 16),
147136
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s2y").WithArguments("S<T>", "S<T?>", "y", "S<T?> S<T?>.operator +(S<T?> x, S<T?> y)").WithLocation(22, 16),
147142
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s2x").WithArguments("S<T?>", "S<T>", "y", "S<T> S<T>.operator +(S<T> x, S<T> y)").WithLocation(23, 16),
147151
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s1y").WithArguments("S<T>", "S<T?>", "y", "S<T?> S<T?>.operator +(S<T?> x, S<T?> y)").WithLocation(24, 16),
147157
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s1x").WithArguments("S<T?>", "S<T>", "y", "S<T> S<T>.operator +(S<T> x, S<T> y)").WithLocation(25, 16),
147166
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s2y").WithArguments("S<T>", "S<T?>", "y", "S<T?> S<T?>.operator +(S<T?> x, S<T?> y)").WithLocation(26, 16),
147172
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s2x").WithArguments("S<T?>", "S<T>", "y", "S<T> S<T>.operator +(S<T> x, S<T> y)").WithLocation(27, 16));
147224
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s1y").WithArguments("S<T>", "S<T?>?", "y", "S<T?>? S<T?>.operator +(S<T?> x, S<T?>? y)").WithLocation(21, 16),
147233
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s2y").WithArguments("S<T>?", "S<T?>?", "y", "S<T?>? S<T?>.operator +(S<T?> x, S<T?>? y)").WithLocation(23, 16),
147236
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s1x").WithArguments("S<T?>", "S<T>?", "y", "S<T>? S<T>.operator +(S<T> x, S<T>? y)").WithLocation(24, 16),
147239
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s2x").WithArguments("S<T?>?", "S<T>?", "y", "S<T>? S<T>.operator +(S<T> x, S<T>? y)").WithLocation(25, 16),
147245
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s1y").WithArguments("S<T>", "S<T?>", "y", "S<T?>? S<T?>.operator *(S<T?>? x, S<T?> y)").WithLocation(27, 16),
147248
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s1x").WithArguments("S<T?>", "S<T>", "y", "S<T>? S<T>.operator *(S<T>? x, S<T> y)").WithLocation(28, 16),
147257
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s1y").WithArguments("S<T>", "S<T?>", "y", "S<T?>? S<T?>.operator *(S<T?>? x, S<T?> y)").WithLocation(30, 16),
147260
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s1x").WithArguments("S<T?>", "S<T>", "y", "S<T>? S<T>.operator *(S<T>? x, S<T> y)").WithLocation(31, 16));
147309
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "ay").WithArguments("A<T>", "A<T?>", "y", "A<T?> A<T?>.operator &(A<T?> x, A<T?> y)").WithLocation(26, 20),
147312
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "by").WithArguments("B<T>", "A<T?>", "y", "A<T?> A<T?>.operator |(A<T?> x, A<T?> y)").WithLocation(28, 20),
147315
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "ax").WithArguments("A<T?>", "A<T>", "y", "A<T> A<T>.operator &(A<T> x, A<T> y)").WithLocation(29, 20),
147318
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "bx").WithArguments("B<T?>", "A<T>", "y", "A<T> A<T>.operator |(A<T> x, A<T> y)").WithLocation(31, 20)
147365
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s1y").WithArguments("S<T>", "S<T?>", "y", "S<T?> S<T?>.operator &(S<T?> x, S<T?> y)").WithLocation(23, 21),
147368
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s2y").WithArguments("S<T>", "S<T?>", "y", "S<T?> S<T?>.operator |(S<T?> x, S<T?> y)").WithLocation(25, 21),
147371
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s1x").WithArguments("S<T?>", "S<T>", "y", "S<T> S<T>.operator &(S<T> x, S<T> y)").WithLocation(26, 21),
147374
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "s2x").WithArguments("S<T?>", "S<T>", "y", "S<T> S<T>.operator |(S<T> x, S<T> y)").WithLocation(28, 21)
147491
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "Create(x)").WithArguments("StructAwaitable<object>", "StructAwaitable<object?>", "s", "TaskAwaiter Program.GetAwaiter(StructAwaitable<object?> s)").WithLocation(13, 15));
147608
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "Create(x)").WithArguments("StructAwaitable1<object>", "StructAwaitable1<object?>", "s", "TaskAwaiter<bool> Program.GetAwaiter(StructAwaitable1<object?> s)").WithLocation(25, 33),
147611
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "Create(y)").WithArguments("StructAwaitable2<object?>", "StructAwaitable2<object>", "s", "TaskAwaiter Program.GetAwaiter(StructAwaitable2<object> s)").WithLocation(28, 33)
147659
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "Create(x)").WithArguments("StructAwaitable2<object>", "StructAwaitable2<object?>", "s", "TaskAwaiter Program.GetAwaiter(StructAwaitable2<object?> s)").WithLocation(25, 33),
147662
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "Create(y)").WithArguments("StructAwaitable1<object?>", "StructAwaitable1<object>", "s", "TaskAwaiter<bool> Program.GetAwaiter(StructAwaitable1<object> s)").WithLocation(28, 33)
152585
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<T>", "I<T?>", "t", "T A.F3<T>(I<T?> t)").WithLocation(9, 12),
152591
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<T>", "I<T?>", "t", "T? A.F4<T>(I<T?> t)").WithLocation(10, 12),
152629
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<T>", "I<T?>", "t", "T A.F3<T>(I<T?> t)").WithLocation(9, 12),
152635
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<T>", "I<T?>", "t", "T? A.F4<T>(I<T?> t)").WithLocation(10, 12),
152676
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<T>", "I<T?>", "t", "T A.F3<T>(I<T?> t)").WithLocation(9, 12),
152682
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<T>", "I<T?>", "t", "T? A.F4<T>(I<T?> t)").WithLocation(10, 12),
152752
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<T>", "I<T?>", "t", "T A.F3<T>(I<T?> t)").WithLocation(9, 12),
152758
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<T>", "I<T?>", "t", "T? A.F4<T>(I<T?> t)").WithLocation(10, 12),
152793
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<string>", "I<string?>", "t", "string A.F3<string>(I<string?> t)").WithLocation(9, 12),
152799
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x").WithArguments("I<string>", "I<string?>", "t", "string? A.F4<string>(I<string?> t)").WithLocation(10, 12),
153944
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y1").WithArguments("System.Collections.Generic.IEnumerable<T?>", "System.Collections.Generic.IEnumerable<T>", "e", "void C<T>.F1(IEnumerable<T> e)").WithLocation(10, 12),
153947
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y2").WithArguments("System.Collections.Generic.List<T?>", "System.Collections.Generic.IEnumerable<T>", "e", "void C<T>.F1(IEnumerable<T> e)").WithLocation(17, 12));
154138
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "y6").WithArguments("I<T?>", "I<T>", "x", "void Program.FB<T>(ref I<T> x, ref I<T?> y)").WithLocation(29, 16),
154141
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x6").WithArguments("I<T>", "I<T?>", "y", "void Program.FB<T>(ref I<T> x, ref I<T?> y)").WithLocation(29, 24),
154144
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "x8").WithArguments("I<T>", "I<T?>", "x", "void Program.FB<T?>(ref I<T?> x, ref I<T?> y)").WithLocation(37, 20));
159542
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "GetC2(s)").WithArguments("C2<string?>", "C2<string>", "t", "C1<string>.C1(C2<string> t)").WithLocation(10, 17),
159662
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "GetC2(s)").WithArguments("C2<string?>", "C2<string>", "t", "void C1<string>.Add(C2<string> t)").WithLocation(10, 22),
159665
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "GetC2(s)").WithArguments("C2<string?>", "C2<string>", "t", "void C1<string>.Add(C2<string> t)").WithLocation(12, 37),
159668
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, @"GetC2(""c1"")").WithArguments("C2<string>", "C2<string?>", "t", "void C1<string?>.Add(C2<string?> t)").WithLocation(15, 32),
159671
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, @"GetC2(""c2"")").WithArguments("C2<string>", "C2<string?>", "t", "void C1<string?>.Add(C2<string?> t)").WithLocation(17, 48)
159720
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "GetC2(s)").WithArguments("C2<string?>", "C2<string>", "t", "void C.Add<string>(C1<string> c, C2<string> t)").WithLocation(10, 22),
159723
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "GetC2(s)").WithArguments("C2<string?>", "C2<string>", "t", "void C.Add<string>(C1<string> c, C2<string> t)").WithLocation(12, 37),
159726
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, @"new() { GetC2(s), GetC2(""c1"")}").WithArguments("C1<string?>", "C1<string>", "c", "void C.Add<string>(C1<string> c, C2<string> t)").WithLocation(15, 14),
159729
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "C1<string?>").WithArguments("C1<string?>", "C1<string>", "c", "void C.Add<string>(C1<string> c, C2<string> t)").WithLocation(17, 22)
159881
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "GetC2(s)").WithArguments("C2<string?>", "C2<string>", "t", "C1<string>.C1(C2<string> t)").WithLocation(10, 17),
160001
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "GetC2(s)").WithArguments("C2<string?>", "C2<string>", "t", "void C1<string>.Add(C2<string> t)").WithLocation(10, 22),
160004
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "GetC2(s)").WithArguments("C2<string?>", "C2<string>", "t", "void C1<string>.Add(C2<string> t)").WithLocation(12, 53),
160007
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, @"GetC2(""c1"")").WithArguments("C2<string>", "C2<string?>", "t", "void C1<string?>.Add(C2<string?> t)").WithLocation(15, 32),
160010
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, @"GetC2(""c2"")").WithArguments("C2<string>", "C2<string?>", "t", "void C1<string?>.Add(C2<string?> t)").WithLocation(17, 65)
160059
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "GetC2(s)").WithArguments("C2<string?>", "C2<string>", "t", "void C.Add<string>(C1<string> c, C2<string> t)").WithLocation(10, 22),
160062
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "GetC2(s)").WithArguments("C2<string?>", "C2<string>", "t", "void C.Add<string>(C1<string> c, C2<string> t)").WithLocation(12, 53),
160065
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, @"new() { GetC2(s), GetC2(""c1"")}").WithArguments("C1<string?>", "C1<string>", "c", "void C.Add<string>(C1<string> c, C2<string> t)").WithLocation(15, 14),
160068
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "C1<string?>").WithArguments("C1<string?>", "C1<string>", "c", "void C.Add<string>(C1<string> c, C2<string> t)").WithLocation(17, 39)
160378
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "GetC2(s)").WithArguments("C2<string?>", "C2<string>", "t", "void C1<string>.Add(C2<string> t)").WithLocation(10, 24),
160381
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "GetC2(s)").WithArguments("C2<string?>", "C2<string>", "t", "void C1<string>.Add(C2<string> t)").WithLocation(12, 39),
160384
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, @"GetC2(""c1"")").WithArguments("C2<string>", "C2<string?>", "t", "void C1<string?>.Add(C2<string?> t)").WithLocation(15, 34),
160387
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, @"GetC2(""c2"")").WithArguments("C2<string>", "C2<string?>", "t", "void C1<string?>.Add(C2<string?> t)").WithLocation(17, 50)
160436
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "GetC2(s)").WithArguments("C2<string?>", "C2<string>", "t", "void C.Add<string>(C1<string> c, C2<string> t)").WithLocation(10, 24),
160439
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "GetC2(s)").WithArguments("C2<string?>", "C2<string>", "t", "void C.Add<string>(C1<string> c, C2<string> t)").WithLocation(12, 39),
160442
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, @"new(dd) { GetC2(s), GetC2(""c1"")}").WithArguments("C1<string?>", "C1<string>", "c", "void C.Add<string>(C1<string> c, C2<string> t)").WithLocation(15, 14),
160445
Diagnostic(ErrorCode.
WRN_NullabilityMismatchInArgument
, "C1<string?>").WithArguments("C1<string?>", "C1<string>", "c", "void C.Add<string>(C1<string> c, C2<string> t)").WithLocation(17, 22)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
352
case ErrorCode.
WRN_NullabilityMismatchInArgument
: