33 references to ERR_InstancePropertyInitializerInInterface
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1694
or ErrorCode.
ERR_InstancePropertyInitializerInInterface
Symbols\Source\SourcePropertySymbolBase.cs (1)
309
diagnostics.Add(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, Location);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (17)
FieldKeywordTests.cs (17)
2003
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P1").WithLocation(4, 16),
2006
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P2").WithLocation(5, 16),
2009
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P3").WithLocation(6, 16),
2012
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P4").WithLocation(7, 16),
2015
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P5").WithLocation(8, 16),
2021
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P6").WithLocation(9, 16),
2024
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P7").WithLocation(10, 16),
2027
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P8").WithLocation(11, 16),
2030
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P9").WithLocation(12, 16));
8798
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P1").WithLocation(3, 27),
8801
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P2").WithLocation(4, 27),
8804
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P3").WithLocation(5, 27),
8807
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P4").WithLocation(6, 27));
8870
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P1").WithLocation(3, 27),
8873
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P2").WithLocation(4, 27),
8876
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P3").WithLocation(5, 27),
8879
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P4").WithLocation(6, 27),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (14)
Symbols\DefaultInterfaceImplementationTests.cs (13)
3179
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P1").WithLocation(4, 9),
3280
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P1").WithLocation(4, 9)
13915
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P1").WithLocation(4, 24),
14732
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P4").WithLocation(14, 17),
16294
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P1").WithLocation(4, 23),
16557
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P8").WithLocation(44, 26),
17005
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P5").WithLocation(20, 23),
17240
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P5").WithLocation(20, 25),
38206
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "M4").WithLocation(44, 12),
45017
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "F5").WithLocation(5, 17),
56844
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P1").WithLocation(9, 21),
56902
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P1").WithLocation(9, 21),
56960
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P1").WithLocation(9, 21),
Symbols\Source\PropertyTests.cs (1)
271
Diagnostic(ErrorCode.
ERR_InstancePropertyInitializerInInterface
, "P").WithLocation(3, 9));