51 references to ERR_SpecialTypeAsBound
Microsoft.CodeAnalysis.CSharp (2)
Binder\Binder_Constraints.cs (1)
579
Error(diagnostics, ErrorCode.
ERR_SpecialTypeAsBound
, syntax, type);
Errors\ErrorFacts.cs (1)
1052
or ErrorCode.
ERR_SpecialTypeAsBound
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
RefStructInterfacesTests.cs (1)
5035
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "System.ValueType").WithArguments("System.ValueType").WithLocation(3, 15)
Semantics\ExtensionTests2.cs (2)
22774
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "System.ValueType").WithArguments("System.ValueType").WithLocation(3, 31));
29170
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "System.Object").WithArguments("object").WithLocation(3, 33));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (42)
Semantics\LocalFunctionTests.cs (1)
1600
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object").WithArguments("object").WithLocation(4, 48)
Semantics\NullableReferenceTypesTests.cs (41)
100434
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(4, 50),
100440
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "System.Object?").WithArguments("object").WithLocation(8, 50)
101052
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(4, 50)
103505
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(7, 39),
103531
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(7, 39),
103558
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(7, 44),
103592
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(7, 39)
103615
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(7, 39)
103639
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(7, 44)
103672
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(8, 39)
103696
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(8, 39)
103721
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(8, 44)
103754
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(8, 39),
103781
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(8, 39),
103809
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(8, 44),
103843
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 39),
103869
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 39),
103896
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 44),
103930
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 39)
103953
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 39)
103977
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 44)
104010
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 39),
104037
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 39),
104065
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 44),
104102
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 39)
104127
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 39)
104153
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 44)
104428
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(7, 36),
104460
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(7, 36)
104486
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(8, 36)
104515
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(8, 36),
104744
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(9, 36),
104775
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(9, 36)
104801
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(10, 36)
104830
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(10, 36),
105933
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object").WithArguments("object").WithLocation(4, 44),
105936
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "System.Object").WithArguments("object").WithLocation(8, 44)
105962
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(4, 44),
105965
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "System.Object?").WithArguments("object").WithLocation(8, 44)
105973
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(4, 44),
105979
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "System.Object?").WithArguments("object").WithLocation(8, 44),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Symbols\SymbolErrorTests.cs (4)
12973
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object").WithArguments("object").WithLocation(2, 27),
12976
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "System.Object").WithArguments("object").WithLocation(3, 27),
12978
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "ValueType").WithArguments("System.ValueType").WithLocation(4, 30),
12980
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "Array").WithArguments("System.Array").WithLocation(5, 27));