12 references to ERR_InterfacesCantContainConstructors
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
937
or ErrorCode.
ERR_InterfacesCantContainConstructors
Symbols\Source\SourceMemberContainerSymbol.cs (1)
4605
diagnostics.Add(ErrorCode.
ERR_InterfacesCantContainConstructors
, member.GetFirstLocation());
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (10)
Symbols\DefaultInterfaceImplementationTests.cs (8)
44349
Diagnostic(ErrorCode.
ERR_InterfacesCantContainConstructors
, "I1").WithLocation(4, 5),
44355
Diagnostic(ErrorCode.
ERR_InterfacesCantContainConstructors
, "I2").WithLocation(10, 5)
44402
Diagnostic(ErrorCode.
ERR_InterfacesCantContainConstructors
, "I3").WithLocation(12, 5),
44405
Diagnostic(ErrorCode.
ERR_InterfacesCantContainConstructors
, "I4").WithLocation(16, 5),
44411
Diagnostic(ErrorCode.
ERR_InterfacesCantContainConstructors
, "I5").WithLocation(20, 5),
44433
Diagnostic(ErrorCode.
ERR_InterfacesCantContainConstructors
, "I3").WithLocation(12, 5),
44436
Diagnostic(ErrorCode.
ERR_InterfacesCantContainConstructors
, "I4").WithLocation(16, 5),
44442
Diagnostic(ErrorCode.
ERR_InterfacesCantContainConstructors
, "I5").WithLocation(20, 5),
Symbols\SymbolErrorTests.cs (2)
9264
new ErrorDescription { Code = (int)ErrorCode.
ERR_InterfacesCantContainConstructors
, Line = 5, Column = 17 },
9265
new ErrorDescription { Code = (int)ErrorCode.
ERR_InterfacesCantContainConstructors
, Line = 6, Column = 19 });