81 references to ERR_ScopedMismatchInParameterOfOverrideOrImplementation
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
2246
or ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1190
ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
:
Symbols\TypeSymbol.cs (1)
1884
ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (31)
RefStructInterfacesTests.cs (4)
22537
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test1").WithArguments("x").WithLocation(12, 35),
22540
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test2").WithArguments("y").WithLocation(14, 35)
22579
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test1").WithArguments("x").WithLocation(12, 38),
22582
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test2").WithArguments("y").WithLocation(14, 38)
Semantics\ParamsCollectionTests.cs (27)
9314
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test1").WithArguments("a").WithLocation(13, 32),
9317
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test2").WithArguments("a").WithLocation(16, 32),
9320
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test3").WithArguments("a").WithLocation(19, 32)
9359
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test1").WithArguments("a").WithLocation(14, 32),
9365
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test2").WithArguments("a").WithLocation(17, 32),
9371
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test3").WithArguments("a").WithLocation(20, 32),
9415
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test1").WithArguments("a").WithLocation(14, 32),
9418
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test2").WithArguments("a").WithLocation(17, 32),
9421
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test3").WithArguments("a").WithLocation(20, 32)
9532
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test1").WithArguments("a").WithLocation(13, 23),
9535
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test2").WithArguments("a").WithLocation(16, 23),
9538
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test3").WithArguments("a").WithLocation(19, 23),
9541
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test1").WithArguments("a").WithLocation(25, 19),
9544
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test2").WithArguments("a").WithLocation(28, 19),
9547
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test3").WithArguments("a").WithLocation(31, 19)
9602
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test1").WithArguments("a").WithLocation(14, 23),
9608
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test2").WithArguments("a").WithLocation(17, 23),
9614
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test3").WithArguments("a").WithLocation(20, 23),
9620
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test1").WithArguments("a").WithLocation(26, 19),
9626
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test2").WithArguments("a").WithLocation(29, 19),
9632
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test3").WithArguments("a").WithLocation(32, 19),
9690
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test1").WithArguments("a").WithLocation(14, 23),
9693
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test2").WithArguments("a").WithLocation(17, 23),
9696
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test3").WithArguments("a").WithLocation(20, 23),
9699
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test1").WithArguments("a").WithLocation(26, 19),
9702
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test2").WithArguments("a").WithLocation(29, 19),
9708
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test3").WithArguments("a").WithLocation(32, 19)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (47)
Semantics\RefEscapingTests.cs (6)
15540
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "M").WithArguments("r").WithLocation(10, 17));
15565
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "M").WithArguments("r").WithLocation(10, 12));
15590
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "M").WithArguments("r").WithLocation(10, 26));
15822
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "UseSpan").WithArguments("span").WithLocation(13, column));
15895
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "UseSpan1").WithArguments("span").WithLocation(11, 17),
15945
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "UseSpan").WithArguments("span").WithLocation(33, 17));
Semantics\RefFieldTests.cs (41)
17411
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F2").WithArguments("r").WithLocation(13, 31),
17414
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F4").WithArguments("r").WithLocation(15, 31),
17417
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "default").WithArguments("y").WithLocation(17, 59));
17461
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F4").WithArguments("s").WithLocation(15, 32),
17464
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F6").WithArguments("s").WithLocation(17, 32));
17490
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "get").WithArguments("rs").WithLocation(11, 38),
17493
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "get").WithArguments("rs").WithLocation(12, 45));
17519
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "get").WithArguments("rs").WithLocation(11, 29),
17522
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "get").WithArguments("rs").WithLocation(12, 36));
17573
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F2").WithArguments("r").WithLocation(15, 22),
17576
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F4").WithArguments("r").WithLocation(17, 22),
17579
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "default").WithArguments("y").WithLocation(19, 50),
17582
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "default").WithArguments("x").WithLocation(21, 53));
17611
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F2").WithArguments("r").WithLocation(15, 25),
17614
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F4").WithArguments("r").WithLocation(17, 25),
17617
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "default").WithArguments("y").WithLocation(19, 53),
17620
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "default").WithArguments("x").WithLocation(21, 56));
17664
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F4").WithArguments("s").WithLocation(15, 32),
17667
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F6").WithArguments("s").WithLocation(17, 32));
17692
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F4").WithArguments("s").WithLocation(15, 35),
17695
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F6").WithArguments("s").WithLocation(17, 35));
17882
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("r").WithLocation(13, 23));
24270
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("i").WithLocation(14, 31));
24298
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("i").WithLocation(14, 31));
24329
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("r").WithLocation(17, 31));
24367
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("i").WithLocation(14, 29),
24370
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("o").WithLocation(24, 35));
24408
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("i").WithLocation(14, 29),
24411
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("o").WithLocation(24, 35));
24452
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("r").WithLocation(17, 29),
24455
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("r").WithLocation(27, 35));
25764
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("i").WithLocation(4, 38),
25767
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F2").WithArguments("s").WithLocation(5, 26),
25831
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("r").WithLocation(3, 38),
25834
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F2").WithArguments("r").WithLocation(4, 26),
25928
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("i").WithLocation(4, 38),
25931
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F2").WithArguments("i").WithLocation(5, 38),
25934
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F3").WithArguments("i").WithLocation(6, 38),
25937
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("s").WithLocation(7, 26),
25940
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F2").WithArguments("s").WithLocation(8, 26),
25943
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F3").WithArguments("s").WithLocation(9, 26),