8 references to ERR_PropertyCantHaveVoidType
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
954or ErrorCode.ERR_PropertyCantHaveVoidType
Symbols\Source\SourcePropertySymbol.cs (1)
612diagnostics.Add(ErrorCode.ERR_PropertyCantHaveVoidType, Location, this);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Semantics\PatternMatchingTests_ListPatterns.cs (1)
3834Diagnostic(ErrorCode.ERR_PropertyCantHaveVoidType, "Length").WithArguments("C.Length").WithLocation(4, 17),
Semantics\RecordTests.cs (1)
1366Diagnostic(ErrorCode.ERR_PropertyCantHaveVoidType, "f5").WithArguments("C.f5").WithLocation(13, 17),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\RecordStructTests.cs (1)
1691Diagnostic(ErrorCode.ERR_PropertyCantHaveVoidType, "f5").WithArguments("C.f5").WithLocation(13, 17),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Symbols\Source\ExpressionBodiedPropertyTests.cs (1)
343Diagnostic(ErrorCode.ERR_PropertyCantHaveVoidType, "P").WithArguments("C.P").WithLocation(4, 17));
Symbols\SymbolErrorTests.cs (2)
10370new ErrorDescription { Code = (int)ErrorCode.ERR_PropertyCantHaveVoidType, Line = 3, Column = 10 }, 10371new ErrorDescription { Code = (int)ErrorCode.ERR_PropertyCantHaveVoidType, Line = 7, Column = 19 });