81 references to ERR_ScopedMismatchInParameterOfOverrideOrImplementation
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
2240
or ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1167
ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
:
Symbols\TypeSymbol.cs (1)
1886
ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
:
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (31)
RefStructInterfacesTests.cs (4)
22141
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test1").WithArguments("x").WithLocation(12, 35),
22144
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test2").WithArguments("y").WithLocation(14, 35)
22183
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test1").WithArguments("x").WithLocation(12, 38),
22186
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test2").WithArguments("y").WithLocation(14, 38)
Semantics\ParamsCollectionTests.cs (27)
9330
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test1").WithArguments("a").WithLocation(13, 32),
9333
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test2").WithArguments("a").WithLocation(16, 32),
9336
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test3").WithArguments("a").WithLocation(19, 32)
9375
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test1").WithArguments("a").WithLocation(14, 32),
9381
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test2").WithArguments("a").WithLocation(17, 32),
9387
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test3").WithArguments("a").WithLocation(20, 32),
9431
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test1").WithArguments("a").WithLocation(14, 32),
9434
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test2").WithArguments("a").WithLocation(17, 32),
9437
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test3").WithArguments("a").WithLocation(20, 32)
9548
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test1").WithArguments("a").WithLocation(13, 23),
9551
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test2").WithArguments("a").WithLocation(16, 23),
9554
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test3").WithArguments("a").WithLocation(19, 23),
9557
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test1").WithArguments("a").WithLocation(25, 19),
9560
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test2").WithArguments("a").WithLocation(28, 19),
9563
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test3").WithArguments("a").WithLocation(31, 19)
9618
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test1").WithArguments("a").WithLocation(14, 23),
9624
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test2").WithArguments("a").WithLocation(17, 23),
9630
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test3").WithArguments("a").WithLocation(20, 23),
9636
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test1").WithArguments("a").WithLocation(26, 19),
9642
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test2").WithArguments("a").WithLocation(29, 19),
9648
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test3").WithArguments("a").WithLocation(32, 19),
9706
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test1").WithArguments("a").WithLocation(14, 23),
9709
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test2").WithArguments("a").WithLocation(17, 23),
9712
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test3").WithArguments("a").WithLocation(20, 23),
9715
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test1").WithArguments("a").WithLocation(26, 19),
9718
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test2").WithArguments("a").WithLocation(29, 19),
9724
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "Test3").WithArguments("a").WithLocation(32, 19)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (47)
Semantics\RefEscapingTests.cs (6)
11177
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "M").WithArguments("r").WithLocation(10, 17));
11202
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "M").WithArguments("r").WithLocation(10, 12));
11227
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "M").WithArguments("r").WithLocation(10, 26));
11459
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "UseSpan").WithArguments("span").WithLocation(13, column));
11532
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "UseSpan1").WithArguments("span").WithLocation(11, 17),
11582
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "UseSpan").WithArguments("span").WithLocation(33, 17));
Semantics\RefFieldTests.cs (41)
17376
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F2").WithArguments("r").WithLocation(13, 31),
17379
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F4").WithArguments("r").WithLocation(15, 31),
17382
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "default").WithArguments("y").WithLocation(17, 59));
17426
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F4").WithArguments("s").WithLocation(15, 32),
17429
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F6").WithArguments("s").WithLocation(17, 32));
17455
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "get").WithArguments("rs").WithLocation(11, 38),
17458
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "get").WithArguments("rs").WithLocation(12, 45));
17484
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "get").WithArguments("rs").WithLocation(11, 29),
17487
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "get").WithArguments("rs").WithLocation(12, 36));
17538
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F2").WithArguments("r").WithLocation(15, 22),
17541
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F4").WithArguments("r").WithLocation(17, 22),
17544
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "default").WithArguments("y").WithLocation(19, 50),
17547
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "default").WithArguments("x").WithLocation(21, 53));
17576
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F2").WithArguments("r").WithLocation(15, 25),
17579
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F4").WithArguments("r").WithLocation(17, 25),
17582
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "default").WithArguments("y").WithLocation(19, 53),
17585
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "default").WithArguments("x").WithLocation(21, 56));
17629
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F4").WithArguments("s").WithLocation(15, 32),
17632
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F6").WithArguments("s").WithLocation(17, 32));
17657
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F4").WithArguments("s").WithLocation(15, 35),
17660
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F6").WithArguments("s").WithLocation(17, 35));
17847
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("r").WithLocation(13, 23));
24292
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("i").WithLocation(14, 31));
24320
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("i").WithLocation(14, 31));
24351
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("r").WithLocation(17, 31));
24389
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("i").WithLocation(14, 29),
24392
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("o").WithLocation(24, 35));
24430
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("i").WithLocation(14, 29),
24433
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("o").WithLocation(24, 35));
24474
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("r").WithLocation(17, 29),
24477
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("r").WithLocation(27, 35));
25786
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("i").WithLocation(4, 38),
25789
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F2").WithArguments("s").WithLocation(5, 26),
25853
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("r").WithLocation(3, 38),
25856
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F2").WithArguments("r").WithLocation(4, 26),
25950
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("i").WithLocation(4, 38),
25953
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F2").WithArguments("i").WithLocation(5, 38),
25956
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F3").WithArguments("i").WithLocation(6, 38),
25959
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F1").WithArguments("s").WithLocation(7, 26),
25962
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F2").WithArguments("s").WithLocation(8, 26),
25965
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfOverrideOrImplementation
, "F3").WithArguments("s").WithLocation(9, 26),