34 references to ERR_ScopedMismatchInParameterOfPartial
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (1)
2241
or ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
Symbols\Source\SourceConstructorSymbol.cs (1)
323
diagnostics.Add(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, implementation.GetFirstLocation(), new FormattedSymbol(implementation.Parameters[i], SymbolDisplayFormat.ShortFormat));
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
552
diagnostics.Add(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, implementingMethod.GetFirstLocation(), new FormattedSymbol(implementingParameter, SymbolDisplayFormat.ShortFormat));
Symbols\Source\SourcePropertySymbol.cs (1)
808
diagnostics.Add(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, implementation.GetFirstLocation(), new FormattedSymbol(implementation.Parameters[i], SymbolDisplayFormat.ShortFormat));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (14)
PartialEventsAndConstructorsTests.cs (2)
3207
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "C1").WithArguments("x").WithLocation(5, 13),
3210
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "C2").WithArguments("x").WithLocation(10, 13));
RefStructInterfacesTests.cs (6)
21341
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "M1").WithArguments("x").WithLocation(7, 18),
21344
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "M2").WithArguments("x").WithLocation(11, 18)
22310
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "Test1").WithArguments("x").WithLocation(11, 26),
22313
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "Test2").WithArguments("y").WithLocation(13, 26),
22316
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "Test5").WithArguments("x").WithLocation(40, 26),
22319
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "Test6").WithArguments("y").WithLocation(42, 26)
Semantics\ParamsCollectionTests.cs (6)
9973
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "Test1").WithArguments("a").WithLocation(13, 18),
9979
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "Test2").WithArguments("a").WithLocation(17, 18),
9982
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "Test3").WithArguments("a").WithLocation(21, 18)
10026
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "Test1").WithArguments("a").WithLocation(13, 18),
10032
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "Test2").WithArguments("a").WithLocation(17, 18),
10035
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "Test3").WithArguments("a").WithLocation(21, 18)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\RefFieldTests.cs (10)
17158
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "M1").WithArguments("r").WithLocation(3, 25),
17161
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "M2").WithArguments("r").WithLocation(4, 25),
17164
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "M3").WithArguments("r").WithLocation(5, 25),
17167
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "M4").WithArguments("r").WithLocation(6, 25),
17170
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "M5").WithArguments("r").WithLocation(7, 25),
17173
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "M6").WithArguments("r").WithLocation(8, 25)
17223
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "F1").WithArguments("i").WithLocation(3, 26),
17226
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "F2").WithArguments("i").WithLocation(4, 26),
17229
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "F3").WithArguments("i").WithLocation(5, 26),
17232
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "F4").WithArguments("i").WithLocation(6, 26)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (6)
Symbols\PartialPropertiesTests.cs (6)
3330
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "this").WithArguments("rs").WithLocation(8, 23),
3333
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "this").WithArguments("rs").WithLocation(11, 23));
3361
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "this").WithArguments("i").WithLocation(8, 23),
3364
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "this").WithArguments("i").WithLocation(11, 23));
3393
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "this").WithArguments("i").WithLocation(8, 23),
3402
Diagnostic(ErrorCode.
ERR_ScopedMismatchInParameterOfPartial
, "this").WithArguments("i").WithLocation(11, 23),