8 references to ERR_PropertyCantHaveVoidType
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
892case ErrorCode.ERR_PropertyCantHaveVoidType:
Symbols\Source\SourcePropertySymbol.cs (1)
477diagnostics.Add(ErrorCode.ERR_PropertyCantHaveVoidType, Location, this);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Semantics\PatternMatchingTests_ListPatterns.cs (1)
3836Diagnostic(ErrorCode.ERR_PropertyCantHaveVoidType, "Length").WithArguments("C.Length").WithLocation(4, 17),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\RecordStructTests.cs (1)
1623Diagnostic(ErrorCode.ERR_PropertyCantHaveVoidType, "f5").WithArguments("C.f5").WithLocation(12, 17),
Semantics\RecordTests.cs (1)
1367Diagnostic(ErrorCode.ERR_PropertyCantHaveVoidType, "f5").WithArguments("C.f5").WithLocation(12, 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)
10227new ErrorDescription { Code = (int)ErrorCode.ERR_PropertyCantHaveVoidType, Line = 3, Column = 10 }, 10228new ErrorDescription { Code = (int)ErrorCode.ERR_PropertyCantHaveVoidType, Line = 7, Column = 19 });