158 references to ERR_UnsupportedCompilerFeature
Microsoft.CodeAnalysis.CSharp (19)
Errors\ErrorFacts.cs (1)
2286
or ErrorCode.
ERR_UnsupportedCompilerFeature
Symbols\EventSymbol.cs (2)
314
protected sealed override bool IsHighestPriorityUseSiteErrorCode(int code) => code is (int)ErrorCode.
ERR_UnsupportedCompilerFeature
or (int)ErrorCode.ERR_BindToBogus;
321
return (object?)info != null && info.Code is (int)ErrorCode.ERR_BindToBogus or (int)ErrorCode.
ERR_UnsupportedCompilerFeature
;
Symbols\FieldSymbol.cs (2)
383
protected sealed override bool IsHighestPriorityUseSiteErrorCode(int code) => code is (int)ErrorCode.
ERR_UnsupportedCompilerFeature
or (int)ErrorCode.ERR_BindToBogus;
390
return (object)info != null && info.Code is (int)ErrorCode.ERR_BindToBogus or (int)ErrorCode.
ERR_UnsupportedCompilerFeature
;
Symbols\Metadata\PE\PEAssemblySymbol.cs (1)
321
=> GetCompilerFeatureRequiredDiagnostic()?.Code == (int)ErrorCode.
ERR_UnsupportedCompilerFeature
|| base.HasUnsupportedMetadata;
Symbols\Metadata\PE\PEModuleSymbol.cs (1)
841
=> GetCompilerFeatureRequiredDiagnostic()?.Code == (int)ErrorCode.
ERR_UnsupportedCompilerFeature
|| base.HasUnsupportedMetadata;
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
2423
if (useSiteInfo.DiagnosticInfo is { Code: (int)ErrorCode.
ERR_UnsupportedCompilerFeature
} diag)
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
1204
return DeriveCompilerFeatureRequiredDiagnostic(decoder) is { Code: (int)ErrorCode.
ERR_UnsupportedCompilerFeature
} || base.HasUnsupportedMetadata;
Symbols\Metadata\PE\PETypeParameterSymbol.cs (1)
727
return DeriveCompilerFeatureRequiredDiagnostic(GetDecoder(containingModule)) is { Code: (int)ErrorCode.
ERR_UnsupportedCompilerFeature
} || base.HasUnsupportedMetadata;
Symbols\Metadata\PE\PEUtilities.cs (1)
16
new CSDiagnosticInfo(ErrorCode.
ERR_UnsupportedCompilerFeature
, symbol, disallowedFeature)
Symbols\MethodSymbol.cs (2)
1079
protected sealed override bool IsHighestPriorityUseSiteErrorCode(int code) => code is (int)ErrorCode.
ERR_UnsupportedCompilerFeature
or (int)ErrorCode.ERR_BindToBogus;
1086
return (object)info != null && info.Code is (int)ErrorCode.ERR_BindToBogus or (int)ErrorCode.
ERR_UnsupportedCompilerFeature
;
Symbols\ParameterSymbol.cs (2)
437
protected sealed override bool IsHighestPriorityUseSiteErrorCode(int code) => code is (int)ErrorCode.
ERR_UnsupportedCompilerFeature
or (int)ErrorCode.ERR_BogusType;
445
return info.DiagnosticInfo?.Code is (int)ErrorCode.ERR_BogusType or (int)ErrorCode.
ERR_UnsupportedCompilerFeature
;
Symbols\PropertySymbol.cs (2)
434
protected sealed override bool IsHighestPriorityUseSiteErrorCode(int code) => code is (int)ErrorCode.
ERR_UnsupportedCompilerFeature
or (int)ErrorCode.ERR_BindToBogus;
441
return (object)info != null && info.Code is (int)ErrorCode.ERR_BindToBogus or (int)ErrorCode.
ERR_UnsupportedCompilerFeature
;
Symbols\TypeSymbol.cs (2)
520
=> code is (int)ErrorCode.
ERR_UnsupportedCompilerFeature
or (int)ErrorCode.ERR_BogusType;
527
return (object)info != null && info.Code is (int)ErrorCode.
ERR_UnsupportedCompilerFeature
or (int)ErrorCode.ERR_BogusType;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (5)
CodeGen\CodeGenAwaitUsingTests.cs (5)
3657
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Class1").WithArguments("System.IAsyncDisposable", "hi").WithLocation(5, 16),
3660
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "IAsyncDisposable").WithArguments("System.IAsyncDisposable", "hi").WithLocation(5, 25),
3663
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "IAsyncDisposable").WithArguments("System.IAsyncDisposable", "hi").WithLocation(7, 15),
3669
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "await using var x = new Class1();").WithArguments("System.IAsyncDisposable", "hi").WithLocation(14, 9),
3672
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "await").WithArguments("System.IAsyncDisposable", "hi").WithLocation(14, 9));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (10)
Semantics\CollectionExpressionTests.cs (7)
19789
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "[]").WithArguments("MyCollectionBuilder.Create<T>(System.ReadOnlySpan<T>)", "MyFeature").WithLocation(6, 31),
19792
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "[null]").WithArguments("MyCollectionBuilder.Create<T>(System.ReadOnlySpan<T>)", "MyFeature").WithLocation(7, 34),
19795
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Create<object>").WithArguments("MyCollectionBuilder.Create<T>(System.ReadOnlySpan<T>)", "MyFeature").WithLocation(8, 54));
19846
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "[]").WithArguments("MyCollectionBuilder", "MyFeature").WithLocation(6, 31),
19849
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "[null]").WithArguments("MyCollectionBuilder", "MyFeature").WithLocation(7, 34),
19852
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "MyCollectionBuilder").WithArguments("MyCollectionBuilder", "MyFeature").WithLocation(8, 34),
19855
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Create<object>").WithArguments("MyCollectionBuilder", "MyFeature").WithLocation(8, 54));
Semantics\LockTests.cs (3)
4681
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "l").WithArguments("System.Threading.Lock.EnterScope()", "Test").WithLocation(5, 15));
4767
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "l").WithArguments("System.Threading.Lock.Scope", "Test").WithLocation(5, 15));
4852
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "l").WithArguments("System.Threading.Lock.Scope.Dispose()", "Test").WithLocation(5, 15));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (124)
Symbols\CSharpCompilerFeatureRequiredTests.cs (122)
78
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnType").WithArguments("OnType", "test").WithLocation(2, 1),
81
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnType").WithArguments("OnType", "test").WithLocation(3, 1),
84
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "M").WithArguments("OnType", "test").WithLocation(3, 8),
87
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "M").WithArguments("OnMethod.M()", "test").WithLocation(4, 10),
90
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "M").WithArguments("void value", "test").WithLocation(5, 16),
93
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "M").WithArguments("int param", "test").WithLocation(6, 13),
96
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Field").WithArguments("OnField.Field", "test").WithLocation(7, 13),
99
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Property").WithArguments("OnProperty.Property", "test").WithLocation(8, 12),
102
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Property").WithArguments("OnProperty.Property", "test").WithLocation(9, 16),
105
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Property").WithArguments("OnPropertySetter.Property.set", "test").WithLocation(10, 18),
108
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Property").WithArguments("OnPropertyGetter.Property.get", "test").WithLocation(13, 22),
111
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Event").WithArguments("OnEvent.Event", "test").WithLocation(14, 9),
114
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Event").WithArguments("OnEvent.Event", "test").WithLocation(15, 9),
117
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnEnum").WithArguments("OnEnum", "test").WithLocation(20, 1),
120
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "A").WithArguments("OnEnumMember.A", "test").WithLocation(21, 18),
123
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnClassTypeParameter<int>").WithArguments("T", "test").WithLocation(22, 1),
126
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "M<int>").WithArguments("T", "test").WithLocation(23, 23),
129
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnDelegateType").WithArguments("OnDelegateType", "test").WithLocation(24, 1),
132
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "set_Property").WithArguments("int param", "test").WithLocation(25, 28),
135
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "get_Property").WithArguments("int param", "test").WithLocation(26, 32),
138
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "new OnThisIndexerParameter()[1]").WithArguments("int i", "test").WithLocation(27, 1),
141
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "new OnThisIndexerParameter()[1]").WithArguments("int i", "test").WithLocation(28, 5)
239
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnType").WithArguments("OnModule", "test").WithLocation(2, 1),
242
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnType").WithArguments("OnModule", "test").WithLocation(3, 1),
245
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "M").WithArguments("OnModule", "test").WithLocation(3, 8),
248
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnMethod").WithArguments("OnModule", "test").WithLocation(4, 1),
251
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "M").WithArguments("OnModule", "test").WithLocation(4, 10),
254
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnMethodReturn").WithArguments("OnModule", "test").WithLocation(5, 1),
257
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "M").WithArguments("OnModule", "test").WithLocation(5, 16),
260
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnParameter").WithArguments("OnModule", "test").WithLocation(6, 1),
263
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "M").WithArguments("OnModule", "test").WithLocation(6, 13),
266
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnField").WithArguments("OnModule", "test").WithLocation(7, 5),
269
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Field").WithArguments("OnModule", "test").WithLocation(7, 13),
272
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnProperty").WithArguments("OnModule", "test").WithLocation(8, 1),
275
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Property").WithArguments("OnModule", "test").WithLocation(8, 12),
278
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnProperty").WithArguments("OnModule", "test").WithLocation(9, 5),
281
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Property").WithArguments("OnModule", "test").WithLocation(9, 16),
284
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnPropertySetter").WithArguments("OnModule", "test").WithLocation(10, 1),
287
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Property").WithArguments("OnModule", "test").WithLocation(10, 18),
290
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnPropertySetter").WithArguments("OnModule", "test").WithLocation(11, 5),
293
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Property").WithArguments("OnModule", "test").WithLocation(11, 22),
296
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnPropertyGetter").WithArguments("OnModule", "test").WithLocation(12, 1),
299
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Property").WithArguments("OnModule", "test").WithLocation(12, 18),
302
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnPropertyGetter").WithArguments("OnModule", "test").WithLocation(13, 5),
305
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Property").WithArguments("OnModule", "test").WithLocation(13, 22),
308
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnEvent").WithArguments("OnModule", "test").WithLocation(14, 1),
311
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Event").WithArguments("OnModule", "test").WithLocation(14, 9),
314
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnEvent").WithArguments("OnModule", "test").WithLocation(15, 1),
317
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Event").WithArguments("OnModule", "test").WithLocation(15, 9),
320
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnEventAdder").WithArguments("OnModule", "test").WithLocation(16, 1),
323
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Event").WithArguments("OnModule", "test").WithLocation(16, 14),
326
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnEventAdder").WithArguments("OnModule", "test").WithLocation(17, 1),
329
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Event").WithArguments("OnModule", "test").WithLocation(17, 14),
332
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnEventRemover").WithArguments("OnModule", "test").WithLocation(18, 1),
335
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Event").WithArguments("OnModule", "test").WithLocation(18, 16),
338
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnEventRemover").WithArguments("OnModule", "test").WithLocation(19, 1),
341
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Event").WithArguments("OnModule", "test").WithLocation(19, 16),
344
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnEnum").WithArguments("OnModule", "test").WithLocation(20, 1),
347
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnEnumMember").WithArguments("OnModule", "test").WithLocation(21, 5),
350
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "A").WithArguments("OnModule", "test").WithLocation(21, 18),
353
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnClassTypeParameter<int>").WithArguments("OnModule", "test").WithLocation(22, 1),
356
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnMethodTypeParameter").WithArguments("OnModule", "test").WithLocation(23, 1),
359
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "M<int>").WithArguments("OnModule", "test").WithLocation(23, 23),
362
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnDelegateType").WithArguments("OnModule", "test").WithLocation(24, 1),
365
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnIndexedPropertyParameter").WithArguments("OnModule", "test").WithLocation(25, 1),
368
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "set_Property").WithArguments("OnModule", "test").WithLocation(25, 28),
371
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnIndexedPropertyParameter").WithArguments("OnModule", "test").WithLocation(26, 5),
374
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "get_Property").WithArguments("OnModule", "test").WithLocation(26, 32),
377
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnThisIndexerParameter").WithArguments("OnModule", "test").WithLocation(27, 5),
380
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnThisIndexerParameter").WithArguments("OnModule", "test").WithLocation(27, 5),
383
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnThisIndexerParameter").WithArguments("OnModule", "test").WithLocation(28, 9),
386
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnThisIndexerParameter").WithArguments("OnModule", "test").WithLocation(28, 9)
397
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnType").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(2, 1),
400
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnType").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(3, 1),
403
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "M").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(3, 8),
406
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnMethod").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(4, 1),
409
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "M").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(4, 10),
412
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnMethodReturn").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(5, 1),
415
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "M").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(5, 16),
418
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnParameter").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(6, 1),
421
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "M").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(6, 13),
424
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnField").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(7, 5),
427
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Field").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(7, 13),
430
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnProperty").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(8, 1),
433
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Property").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(8, 12),
436
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnProperty").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(9, 5),
439
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Property").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(9, 16),
442
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnPropertySetter").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(10, 1),
445
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Property").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(10, 18),
448
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnPropertySetter").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(11, 5),
451
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Property").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(11, 22),
454
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnPropertyGetter").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(12, 1),
457
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Property").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(12, 18),
460
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnPropertyGetter").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(13, 5),
463
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Property").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(13, 22),
466
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnEvent").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(14, 1),
469
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Event").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(14, 9),
472
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnEvent").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(15, 1),
475
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Event").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(15, 9),
478
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnEventAdder").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(16, 1),
481
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Event").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(16, 14),
484
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnEventAdder").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(17, 1),
487
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Event").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(17, 14),
490
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnEventRemover").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(18, 1),
493
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Event").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(18, 16),
496
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnEventRemover").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(19, 1),
499
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "Event").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(19, 16),
502
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnEnum").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(20, 1),
505
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnEnumMember").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(21, 5),
508
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "A").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(21, 18),
511
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnClassTypeParameter<int>").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(22, 1),
514
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnMethodTypeParameter").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(23, 1),
517
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "M<int>").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(23, 23),
520
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnDelegateType").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(24, 1),
523
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnIndexedPropertyParameter").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(25, 1),
526
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "set_Property").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(25, 28),
529
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnIndexedPropertyParameter").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(26, 5),
532
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "get_Property").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(26, 32),
535
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnThisIndexerParameter").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(27, 5),
538
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnThisIndexerParameter").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(27, 5),
541
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnThisIndexerParameter").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(28, 9),
544
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "OnThisIndexerParameter").WithArguments("AssemblyTest, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", "test").WithLocation(28, 9)
Symbols\SymbolErrorTests.cs (2)
22161
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "TypeForwardedTo(typeof(C1))").WithArguments("C1", "SomeFeatureIsRequired").WithLocation(4, 12),
22164
Diagnostic(ErrorCode.
ERR_UnsupportedCompilerFeature
, "C1").WithArguments("C1", "SomeFeatureIsRequired").WithLocation(4, 35)