8 references to ERR_StructWithBaseConstructorCall
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Expressions.cs (1)
4885
diagnostics.Add(ErrorCode.
ERR_StructWithBaseConstructorCall
, constructor.GetFirstLocation(), containingType);
Errors\ErrorFacts.cs (1)
934
or ErrorCode.
ERR_StructWithBaseConstructorCall
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\RecordStructTests.cs (4)
911
Diagnostic(ErrorCode.
ERR_StructWithBaseConstructorCall
, "S").WithArguments("S").WithLocation(4, 12)
11242
Diagnostic(ErrorCode.
ERR_StructWithBaseConstructorCall
, "S1").WithArguments("S1").WithLocation(3, 12),
11245
Diagnostic(ErrorCode.
ERR_StructWithBaseConstructorCall
, "S2").WithArguments("S2").WithLocation(7, 12),
11251
Diagnostic(ErrorCode.
ERR_StructWithBaseConstructorCall
, "S3").WithArguments("S3").WithLocation(11, 12),
Semantics\SemanticErrorTests.cs (1)
11164
Diagnostic(ErrorCode.
ERR_StructWithBaseConstructorCall
, "cly").WithArguments("cly"));
Semantics\StructConstructorTests.cs (1)
4153
Diagnostic(ErrorCode.
ERR_StructWithBaseConstructorCall
, "S1").WithArguments("S1").WithLocation(7, 12),