16 references to ERR_BadVisPropertyType
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
610
case ErrorCode.
ERR_BadVisPropertyType
:
Symbols\Source\SourcePropertySymbol.cs (1)
459
diagnostics.Add((this.IsIndexer ? ErrorCode.ERR_BadVisIndexerReturn : ErrorCode.
ERR_BadVisPropertyType
), Location, this, type.Type);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (14)
Symbols\SymbolErrorTests.cs (14)
351
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "Q").WithArguments("A.Q", "InternalInterface").WithLocation(8, 30),
353
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "R").WithArguments("A.R", "A.ProtectedStruct").WithLocation(9, 28),
355
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "S").WithArguments("A.S", "A.PrivateClass").WithLocation(10, 25),
357
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "V").WithArguments("A.V", "A.ProtectedStruct").WithLocation(13, 30),
359
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "W").WithArguments("A.W", "A.PrivateClass").WithLocation(14, 27),
361
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "Q").WithArguments("A.B.Q", "InternalInterface").WithLocation(18, 34),
363
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "S").WithArguments("A.B.S", "A.PrivateClass").WithLocation(20, 29),
365
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "W").WithArguments("A.B.W", "A.PrivateClass").WithLocation(24, 31),
367
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "R").WithArguments("C.R", "C.ProtectedStruct").WithLocation(33, 28),
369
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "S").WithArguments("C.S", "C.PrivateClass").WithLocation(34, 25),
371
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "V").WithArguments("C.V", "C.ProtectedStruct").WithLocation(37, 30),
373
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "W").WithArguments("C.W", "C.PrivateClass").WithLocation(38, 27),
375
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "S").WithArguments("C.D.S", "C.PrivateClass").WithLocation(44, 29),
377
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "W").WithArguments("C.D.W", "C.PrivateClass").WithLocation(48, 31));