17 references to ERR_BadVisPropertyType
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
671
or ErrorCode.
ERR_BadVisPropertyType
Symbols\Source\SourcePropertySymbol.cs (1)
585
diagnostics.Add((this.IsIndexer ? ErrorCode.ERR_BadVisIndexerReturn : ErrorCode.
ERR_BadVisPropertyType
), Location, this, type.Type);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Semantics\ExtensionTests.cs (1)
4435
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "M1").WithArguments("Extensions.extension(int).M1", "Extensions.C").WithLocation(5, 18)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (14)
Symbols\SymbolErrorTests.cs (14)
352
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "Q").WithArguments("A.Q", "InternalInterface").WithLocation(8, 30),
354
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "R").WithArguments("A.R", "A.ProtectedStruct").WithLocation(9, 28),
356
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "S").WithArguments("A.S", "A.PrivateClass").WithLocation(10, 25),
358
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "V").WithArguments("A.V", "A.ProtectedStruct").WithLocation(13, 30),
360
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "W").WithArguments("A.W", "A.PrivateClass").WithLocation(14, 27),
362
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "Q").WithArguments("A.B.Q", "InternalInterface").WithLocation(18, 34),
364
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "S").WithArguments("A.B.S", "A.PrivateClass").WithLocation(20, 29),
366
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "W").WithArguments("A.B.W", "A.PrivateClass").WithLocation(24, 31),
368
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "R").WithArguments("C.R", "C.ProtectedStruct").WithLocation(33, 28),
370
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "S").WithArguments("C.S", "C.PrivateClass").WithLocation(34, 25),
372
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "V").WithArguments("C.V", "C.ProtectedStruct").WithLocation(37, 30),
374
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "W").WithArguments("C.W", "C.PrivateClass").WithLocation(38, 27),
376
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "S").WithArguments("C.D.S", "C.PrivateClass").WithLocation(44, 29),
378
Diagnostic(ErrorCode.
ERR_BadVisPropertyType
, "W").WithArguments("C.D.W", "C.PrivateClass").WithLocation(48, 31));