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