19 references to ERR_PartialTypeKindConflict
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
765
case ErrorCode.
ERR_PartialTypeKindConflict
:
Symbols\Source\SourceMemberContainerSymbol.cs (1)
1315
diagnostics.Add(ErrorCode.
ERR_PartialTypeKindConflict
, t.Locations[0], t);
Symbols\Source\SourceNamespaceSymbol.cs (1)
385
diagnostics.Add(ErrorCode.
ERR_PartialTypeKindConflict
, symbol.Locations.FirstOrNone(), symbol);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (14)
Semantics\RecordStructTests.cs (10)
1235
Diagnostic(ErrorCode.
ERR_PartialTypeKindConflict
, "S1").WithArguments("S1").WithLocation(3, 16),
1238
Diagnostic(ErrorCode.
ERR_PartialTypeKindConflict
, "S2").WithArguments("S2").WithLocation(6, 23),
1241
Diagnostic(ErrorCode.
ERR_PartialTypeKindConflict
, "S3").WithArguments("S3").WithLocation(9, 16),
1244
Diagnostic(ErrorCode.
ERR_PartialTypeKindConflict
, "S4").WithArguments("S4").WithLocation(12, 22),
1247
Diagnostic(ErrorCode.
ERR_PartialTypeKindConflict
, "S5").WithArguments("S5").WithLocation(15, 15),
1250
Diagnostic(ErrorCode.
ERR_PartialTypeKindConflict
, "S6").WithArguments("S6").WithLocation(18, 19),
1253
Diagnostic(ErrorCode.
ERR_PartialTypeKindConflict
, "C1").WithArguments("C1").WithLocation(21, 16),
1256
Diagnostic(ErrorCode.
ERR_PartialTypeKindConflict
, "C2").WithArguments("C2").WithLocation(24, 23),
1259
Diagnostic(ErrorCode.
ERR_PartialTypeKindConflict
, "C4").WithArguments("C4").WithLocation(30, 15),
1262
Diagnostic(ErrorCode.
ERR_PartialTypeKindConflict
, "C5").WithArguments("C5").WithLocation(33, 19)
Semantics\RecordTests.cs (1)
760
Diagnostic(ErrorCode.
ERR_PartialTypeKindConflict
, "C").WithArguments("C").WithLocation(5, 15)
Semantics\TopLevelStatementsTests.cs (3)
9209
Diagnostic(ErrorCode.
ERR_PartialTypeKindConflict
, "M").WithArguments("Program").WithLocation(2, 1),
9238
Diagnostic(ErrorCode.
ERR_PartialTypeKindConflict
, "M").WithArguments("Program").WithLocation(2, 1),
9260
Diagnostic(ErrorCode.
ERR_PartialTypeKindConflict
, "System").WithArguments("Program").WithLocation(2, 1)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\SymbolErrorTests.cs (2)
3536
new ErrorDescription { Code = (int)ErrorCode.
ERR_PartialTypeKindConflict
, Line = 5, Column = 20 },
3537
new ErrorDescription { Code = (int)ErrorCode.
ERR_PartialTypeKindConflict
, Line = 6, Column = 23 });