110 references to ERR_ExplicitReservedAttr
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
1852
or ErrorCode.
ERR_ExplicitReservedAttr
Symbols\Symbol.cs (1)
1621
diagnostics.Add(ErrorCode.
ERR_ExplicitReservedAttr
, arguments.AttributeSyntaxOpt.Location, attributeDescription.FullName);
Symbols\Symbol_Attributes.cs (1)
223
arguments.Diagnostics.DiagnosticBag.Add(ErrorCode.
ERR_ExplicitReservedAttr
, arguments.AttributeSyntaxOpt.Location, AttributeDescription.CompilerFeatureRequiredAttribute.FullName);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (83)
Attributes\AttributeTests.cs (2)
2153
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "System.Runtime.CompilerServices.IsReadOnlyAttribute()").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(8, 13)
2175
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "System.Runtime.CompilerServices.IsByRefLikeAttribute()").WithArguments("System.Runtime.CompilerServices.IsByRefLikeAttribute").WithLocation(8, 13)
Attributes\AttributeTests_IsByRefLike.cs (10)
176
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsByRefLike").WithArguments("System.Runtime.CompilerServices.IsByRefLikeAttribute").WithLocation(4, 2),
179
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsByRefLike").WithArguments("System.Runtime.CompilerServices.IsByRefLikeAttribute").WithLocation(5, 37));
205
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsByRefLike").WithArguments("System.Runtime.CompilerServices.IsByRefLikeAttribute").WithLocation(4, 2));
234
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsByRefLike").WithArguments("System.Runtime.CompilerServices.IsByRefLikeAttribute").WithLocation(6, 6));
263
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsByRefLike").WithArguments("System.Runtime.CompilerServices.IsByRefLikeAttribute").WithLocation(8, 6));
294
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsByRefLike").WithArguments("System.Runtime.CompilerServices.IsByRefLikeAttribute").WithLocation(6, 6),
297
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsByRefLike").WithArguments("System.Runtime.CompilerServices.IsByRefLikeAttribute").WithLocation(7, 14),
300
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsByRefLike").WithArguments("System.Runtime.CompilerServices.IsByRefLikeAttribute").WithLocation(8, 37));
327
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsByRefLike").WithArguments("System.Runtime.CompilerServices.IsByRefLikeAttribute").WithLocation(6, 6),
330
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsByRefLike").WithArguments("System.Runtime.CompilerServices.IsByRefLikeAttribute").WithLocation(7, 35));
Attributes\AttributeTests_IsUnmanaged.cs (10)
466
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsUnmanaged").WithArguments("System.Runtime.CompilerServices.IsUnmanagedAttribute").WithLocation(9, 2),
469
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsUnmanaged").WithArguments("System.Runtime.CompilerServices.IsUnmanagedAttribute").WithLocation(10, 25));
492
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsUnmanaged").WithArguments("System.Runtime.CompilerServices.IsUnmanagedAttribute").WithLocation(9, 2));
516
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsUnmanaged").WithArguments("System.Runtime.CompilerServices.IsUnmanagedAttribute").WithLocation(11, 6));
540
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsUnmanaged").WithArguments("System.Runtime.CompilerServices.IsUnmanagedAttribute").WithLocation(11, 6));
568
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsUnmanaged").WithArguments("System.Runtime.CompilerServices.IsUnmanagedAttribute").WithLocation(11, 6),
571
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsUnmanaged").WithArguments("System.Runtime.CompilerServices.IsUnmanagedAttribute").WithLocation(12, 14),
574
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsUnmanaged").WithArguments("System.Runtime.CompilerServices.IsUnmanagedAttribute").WithLocation(13, 24));
598
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsUnmanaged").WithArguments("System.Runtime.CompilerServices.IsUnmanagedAttribute").WithLocation(11, 6),
601
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsUnmanaged").WithArguments("System.Runtime.CompilerServices.IsUnmanagedAttribute").WithLocation(12, 22));
Attributes\AttributeTests_NativeInteger.cs (6)
178
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "NativeInteger").WithArguments("System.Runtime.CompilerServices.NativeIntegerAttribute").WithLocation(5, 2),
181
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "NativeInteger").WithArguments("System.Runtime.CompilerServices.NativeIntegerAttribute").WithLocation(7, 6),
184
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "NativeInteger").WithArguments("System.Runtime.CompilerServices.NativeIntegerAttribute").WithLocation(8, 6),
187
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "NativeInteger").WithArguments("System.Runtime.CompilerServices.NativeIntegerAttribute").WithLocation(9, 6),
190
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "NativeInteger(new[] { false, true })").WithArguments("System.Runtime.CompilerServices.NativeIntegerAttribute").WithLocation(11, 14),
193
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "NativeInteger").WithArguments("System.Runtime.CompilerServices.NativeIntegerAttribute").WithLocation(12, 21));
Attributes\AttributeTests_NullableContext.cs (3)
141
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "NullableContext(0)").WithArguments("System.Runtime.CompilerServices.NullableContextAttribute").WithLocation(4, 10),
144
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "NullableContext(0)").WithArguments("System.Runtime.CompilerServices.NullableContextAttribute").WithLocation(5, 2),
147
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "NullableContext(0)").WithArguments("System.Runtime.CompilerServices.NullableContextAttribute").WithLocation(9, 6));
Attributes\AttributeTests_NullablePublicOnly.cs (1)
418
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "NullablePublicOnly(false)").WithArguments("System.Runtime.CompilerServices.NullablePublicOnlyAttribute").WithLocation(3, 10));
Attributes\AttributeTests_ReadOnlyStruct.cs (10)
166
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(4, 2),
169
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(5, 37));
195
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(4, 2));
224
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(6, 6));
253
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(8, 6));
284
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(6, 6),
287
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(7, 14),
290
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(8, 37));
317
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(6, 6),
320
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(7, 35));
Attributes\AttributeTests_RefReadOnly.cs (10)
853
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(4, 2),
856
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(5, 37));
882
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(4, 2));
911
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(6, 6));
940
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(8, 6));
971
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(6, 6),
974
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(7, 14),
977
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(8, 37));
1004
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(6, 6),
1007
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(7, 35));
Attributes\AttributeTests_RefSafetyRules.cs (1)
99
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RefSafetyRules(11)").WithArguments("System.Runtime.CompilerServices.RefSafetyRulesAttribute").WithLocation(3, 10));
RefReadonlyParameterTests.cs (30)
186
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(2, 2),
189
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(4, 14),
195
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(5, 14),
198
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(6, 14),
201
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(7, 14),
204
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(8, 14),
207
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(9, 14),
210
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(10, 14),
213
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(11, 6),
216
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(12, 6),
219
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(13, 6));
225
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(2, 2),
228
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(4, 14),
231
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(5, 14),
234
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(6, 14),
237
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(7, 14),
240
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(8, 14),
243
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(9, 14),
246
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(10, 14),
249
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(11, 6),
252
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(12, 6),
255
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(13, 6)
287
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(4, 13));
306
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(5, 14),
309
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(6, 14),
312
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(7, 14));
385
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(5, 14),
388
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(6, 18),
391
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "RequiresLocation").WithArguments("System.Runtime.CompilerServices.RequiresLocationAttribute").WithLocation(7, 18),
394
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(7, 36));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Semantics\LambdaTests.cs (4)
4026
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(15, 14),
4029
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsUnmanaged").WithArguments("System.Runtime.CompilerServices.IsUnmanagedAttribute").WithLocation(16, 14),
4032
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsByRefLike").WithArguments("System.Runtime.CompilerServices.IsByRefLikeAttribute").WithLocation(17, 14),
4038
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "NullableContext(0)").WithArguments("System.Runtime.CompilerServices.NullableContextAttribute").WithLocation(19, 14));
Semantics\LocalFunctionTests.cs (4)
2027
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsReadOnly").WithArguments("System.Runtime.CompilerServices.IsReadOnlyAttribute").WithLocation(18, 10),
2030
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsUnmanaged").WithArguments("System.Runtime.CompilerServices.IsUnmanagedAttribute").WithLocation(19, 10),
2033
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "IsByRefLike").WithArguments("System.Runtime.CompilerServices.IsByRefLikeAttribute").WithLocation(20, 10),
2039
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, "NullableContext(0)").WithArguments("System.Runtime.CompilerServices.NullableContextAttribute").WithLocation(22, 10));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (16)
Symbols\CSharpCompilerFeatureRequiredTests.cs (16)
644
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, @"CompilerFeatureRequired(""OnType"")").WithArguments("System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute").WithLocation(4, 2),
647
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, @"CompilerFeatureRequired(""OnMethod"")").WithArguments("System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute").WithLocation(11, 6),
650
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, @"CompilerFeatureRequired(""OnMethodReturn"")").WithArguments("System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute").WithLocation(17, 14),
653
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, @"CompilerFeatureRequired(""OnParameter"")").WithArguments("System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute").WithLocation(23, 27),
656
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, @"CompilerFeatureRequired(""OnField"")").WithArguments("System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute").WithLocation(28, 6),
659
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, @"CompilerFeatureRequired(""OnProperty"")").WithArguments("System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute").WithLocation(34, 6),
662
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, @"CompilerFeatureRequired(""OnPropertySetter"")").WithArguments("System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute").WithLocation(40, 45),
665
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, @"CompilerFeatureRequired(""OnPropertyGetter"")").WithArguments("System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute").WithLocation(45, 35),
668
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, @"CompilerFeatureRequired(""OnEvent"")").WithArguments("System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute").WithLocation(50, 6),
671
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, @"CompilerFeatureRequired(""OnEventAdder"")").WithArguments("System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute").WithLocation(56, 41),
674
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, @"CompilerFeatureRequired(""OnEventRemover"")").WithArguments("System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute").WithLocation(61, 41),
677
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, @"CompilerFeatureRequired(""OnEnum"")").WithArguments("System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute").WithLocation(64, 2),
680
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, @"CompilerFeatureRequired(""OnEnumMember"")").WithArguments("System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute").WithLocation(72, 6),
683
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, @"CompilerFeatureRequired(""OnClassTypeParameter"")").WithArguments("System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute").WithLocation(75, 36),
686
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, @"CompilerFeatureRequired(""OnMethodTypeParameter"")").WithArguments("System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute").WithLocation(81, 27),
689
Diagnostic(ErrorCode.
ERR_ExplicitReservedAttr
, @"CompilerFeatureRequired(""OnDelegateType"")").WithArguments("System.Runtime.CompilerServices.CompilerFeatureRequiredAttribute").WithLocation(84, 2)