48 references to ERR_SpecialTypeAsBound
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Constraints.cs (1)
537
Error(diagnostics, ErrorCode.
ERR_SpecialTypeAsBound
, syntax, type);
Errors\ErrorFacts.cs (1)
990
case ErrorCode.
ERR_SpecialTypeAsBound
:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (42)
Semantics\LocalFunctionTests.cs (1)
1606
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object").WithArguments("object").WithLocation(4, 48)
Semantics\NullableReferenceTypesTests.cs (41)
96642
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(4, 50),
96648
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "System.Object?").WithArguments("object").WithLocation(8, 50)
97260
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(4, 50)
99713
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(7, 39),
99739
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(7, 39),
99766
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(7, 44),
99800
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(7, 39)
99823
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(7, 39)
99847
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(7, 44)
99880
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(8, 39)
99904
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(8, 39)
99929
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(8, 44)
99962
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(8, 39),
99989
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(8, 39),
100017
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(8, 44),
100051
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 39),
100077
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 39),
100104
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 44),
100138
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 39)
100161
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 39)
100185
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 44)
100218
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 39),
100245
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 39),
100273
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 44),
100310
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 39)
100335
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 39)
100361
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 44)
100636
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(7, 36),
100668
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(7, 36)
100694
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(8, 36)
100723
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(8, 36),
100952
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(9, 36),
100983
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(9, 36)
101009
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(10, 36)
101038
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(10, 36),
102141
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object").WithArguments("object").WithLocation(4, 44),
102144
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "System.Object").WithArguments("object").WithLocation(8, 44)
102170
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(4, 44),
102173
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "System.Object?").WithArguments("object").WithLocation(8, 44)
102181
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(4, 44),
102187
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "System.Object?").WithArguments("object").WithLocation(8, 44),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\SymbolErrorTests.cs (4)
12814
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object").WithArguments("object").WithLocation(2, 27),
12817
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "System.Object").WithArguments("object").WithLocation(3, 27),
12819
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "ValueType").WithArguments("System.ValueType").WithLocation(4, 30),
12821
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "Array").WithArguments("System.Array").WithLocation(5, 27));