23 references to ERR_PartialTypeKindConflict
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
826
or ErrorCode.
ERR_PartialTypeKindConflict
Symbols\Source\SourceMemberContainerSymbol.cs (1)
1352
diagnostics.Add(ErrorCode.
ERR_PartialTypeKindConflict
, t.GetFirstLocation(), t);
Symbols\Source\SourceNamespaceSymbol.cs (1)
359
diagnostics.Add(ErrorCode.
ERR_PartialTypeKindConflict
, symbol.GetFirstLocationOrNone(), symbol);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Semantics\RecordTests.cs (1)
750
Diagnostic(ErrorCode.
ERR_PartialTypeKindConflict
, "C").WithArguments("C").WithLocation(5, 15)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (13)
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\TopLevelStatementsTests.cs (3)
9222
Diagnostic(ErrorCode.
ERR_PartialTypeKindConflict
, "M").WithArguments("Program").WithLocation(2, 1),
9251
Diagnostic(ErrorCode.
ERR_PartialTypeKindConflict
, "M").WithArguments("Program").WithLocation(2, 1),
9273
Diagnostic(ErrorCode.
ERR_PartialTypeKindConflict
, "System").WithArguments("Program").WithLocation(2, 1)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (6)
Symbols\SymbolErrorTests.cs (2)
3597
new ErrorDescription { Code = (int)ErrorCode.
ERR_PartialTypeKindConflict
, Line = 5, Column = 20 },
3598
new ErrorDescription { Code = (int)ErrorCode.
ERR_PartialTypeKindConflict
, Line = 6, Column = 23 });
Symbols\TypeTests.cs (4)
2532
Diagnostic(ErrorCode.
ERR_PartialTypeKindConflict
, "").WithArguments("N..").WithLocation(6, 19),
2541
Diagnostic(ErrorCode.
ERR_PartialTypeKindConflict
, "").WithArguments("N..").WithLocation(7, 22),
2562
Diagnostic(ErrorCode.
ERR_PartialTypeKindConflict
, "").WithArguments("N..").WithLocation(10, 19),
2574
Diagnostic(ErrorCode.
ERR_PartialTypeKindConflict
, "").WithArguments("N..").WithLocation(12, 26),