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)
1054
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)
22772
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "System.ValueType").WithArguments("System.ValueType").WithLocation(3, 31));
29168
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)
100496
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(4, 50),
100502
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "System.Object?").WithArguments("object").WithLocation(8, 50)
101114
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(4, 50)
103567
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(7, 39),
103593
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(7, 39),
103620
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(7, 44),
103654
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(7, 39)
103677
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(7, 39)
103701
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(7, 44)
103734
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(8, 39)
103758
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(8, 39)
103783
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(8, 44)
103816
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(8, 39),
103843
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(8, 39),
103871
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(8, 44),
103905
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 39),
103931
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 39),
103958
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 44),
103992
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 39)
104015
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 39)
104039
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 44)
104072
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 39),
104099
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 39),
104127
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 44),
104164
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 39)
104189
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 39)
104215
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(3, 44)
104490
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(7, 36),
104522
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(7, 36)
104548
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(8, 36)
104577
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(8, 36),
104806
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(9, 36),
104837
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(9, 36)
104863
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(10, 36)
104892
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(10, 36),
105995
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object").WithArguments("object").WithLocation(4, 44),
105998
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "System.Object").WithArguments("object").WithLocation(8, 44)
106024
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(4, 44),
106027
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "System.Object?").WithArguments("object").WithLocation(8, 44)
106035
Diagnostic(ErrorCode.
ERR_SpecialTypeAsBound
, "object?").WithArguments("object").WithLocation(4, 44),
106041
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));