74 references to ReservedAttributes
Microsoft.CodeAnalysis.CSharp (74)
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (9)
206
ReservedAttributes
.DynamicAttribute
207
|
ReservedAttributes
.IsReadOnlyAttribute
208
|
ReservedAttributes
.RequiresLocationAttribute
209
|
ReservedAttributes
.IsUnmanagedAttribute
210
|
ReservedAttributes
.IsByRefLikeAttribute
211
|
ReservedAttributes
.TupleElementNamesAttribute
212
|
ReservedAttributes
.NullableAttribute
213
|
ReservedAttributes
.NativeIntegerAttribute
214
|
ReservedAttributes
.RequiredMemberAttribute))
Symbols\Source\SourceComplexParameterSymbol.cs (9)
814
ReservedAttributes
.DynamicAttribute |
815
ReservedAttributes
.IsReadOnlyAttribute |
816
ReservedAttributes
.RequiresLocationAttribute |
817
ReservedAttributes
.IsUnmanagedAttribute |
818
ReservedAttributes
.IsByRefLikeAttribute |
819
ReservedAttributes
.TupleElementNamesAttribute |
820
ReservedAttributes
.NullableAttribute |
821
ReservedAttributes
.NativeIntegerAttribute |
822
ReservedAttributes
.ScopedRefAttribute))
Symbols\Source\SourceEventSymbol.cs (3)
307
else if (ReportExplicitUseOfReservedAttributes(in arguments,
ReservedAttributes
.NullableAttribute |
ReservedAttributes
.NativeIntegerAttribute |
ReservedAttributes
.TupleElementNamesAttribute))
Symbols\Source\SourceMethodSymbolWithAttributes.cs (14)
572
ReservedAttributes
.IsReadOnlyAttribute |
573
ReservedAttributes
.RequiresLocationAttribute |
574
ReservedAttributes
.IsUnmanagedAttribute |
575
ReservedAttributes
.IsByRefLikeAttribute |
576
ReservedAttributes
.NullableContextAttribute |
577
ReservedAttributes
.CaseSensitiveExtensionAttribute))
787
ReservedAttributes
.DynamicAttribute |
788
ReservedAttributes
.IsUnmanagedAttribute |
789
ReservedAttributes
.IsReadOnlyAttribute |
790
ReservedAttributes
.RequiresLocationAttribute |
791
ReservedAttributes
.IsByRefLikeAttribute |
792
ReservedAttributes
.TupleElementNamesAttribute |
793
ReservedAttributes
.NullableAttribute |
794
ReservedAttributes
.NativeIntegerAttribute))
Symbols\Source\SourceModuleSymbol.cs (3)
572
ReservedAttributes
.NullableContextAttribute |
ReservedAttributes
.NullablePublicOnlyAttribute |
ReservedAttributes
.RefSafetyRulesAttribute))
Symbols\Source\SourceNamedTypeSymbol.cs (11)
1158
ReservedAttributes
.DynamicAttribute
1159
|
ReservedAttributes
.IsReadOnlyAttribute
1160
|
ReservedAttributes
.RequiresLocationAttribute
1161
|
ReservedAttributes
.IsUnmanagedAttribute
1162
|
ReservedAttributes
.IsByRefLikeAttribute
1163
|
ReservedAttributes
.TupleElementNamesAttribute
1164
|
ReservedAttributes
.NullableAttribute
1165
|
ReservedAttributes
.NullableContextAttribute
1166
|
ReservedAttributes
.NativeIntegerAttribute
1167
|
ReservedAttributes
.CaseSensitiveExtensionAttribute
1168
|
ReservedAttributes
.RequiredMemberAttribute))
Symbols\Source\SourcePropertySymbolBase.cs (9)
1532
ReservedAttributes
.DynamicAttribute
1533
|
ReservedAttributes
.IsReadOnlyAttribute
1534
|
ReservedAttributes
.RequiresLocationAttribute
1535
|
ReservedAttributes
.IsUnmanagedAttribute
1536
|
ReservedAttributes
.IsByRefLikeAttribute
1537
|
ReservedAttributes
.TupleElementNamesAttribute
1538
|
ReservedAttributes
.NullableAttribute
1539
|
ReservedAttributes
.NativeIntegerAttribute
1540
|
ReservedAttributes
.RequiredMemberAttribute))
Symbols\Source\SourceTypeParameterSymbol.cs (1)
435
ReportExplicitUseOfReservedAttributes(in arguments,
ReservedAttributes
.NullableAttribute);
Symbols\Symbol.cs (15)
1524
internal bool ReportExplicitUseOfReservedAttributes(in DecodeWellKnownAttributeArguments<AttributeSyntax, CSharpAttributeData, AttributeLocation> arguments,
ReservedAttributes
reserved)
1531
if ((reserved &
ReservedAttributes
.DynamicAttribute) != 0 &&
1537
else if ((reserved &
ReservedAttributes
.IsReadOnlyAttribute) != 0 &&
1541
else if ((reserved &
ReservedAttributes
.RequiresLocationAttribute) != 0 &&
1545
else if ((reserved &
ReservedAttributes
.IsUnmanagedAttribute) != 0 &&
1549
else if ((reserved &
ReservedAttributes
.IsByRefLikeAttribute) != 0 &&
1553
else if ((reserved &
ReservedAttributes
.TupleElementNamesAttribute) != 0 &&
1558
else if ((reserved &
ReservedAttributes
.NullableAttribute) != 0 &&
1564
else if ((reserved &
ReservedAttributes
.NullableContextAttribute) != 0 &&
1568
else if ((reserved &
ReservedAttributes
.NullablePublicOnlyAttribute) != 0 &&
1572
else if ((reserved &
ReservedAttributes
.NativeIntegerAttribute) != 0 &&
1576
else if ((reserved &
ReservedAttributes
.CaseSensitiveExtensionAttribute) != 0 &&
1582
else if ((reserved &
ReservedAttributes
.RequiredMemberAttribute) != 0 &&
1588
else if ((reserved &
ReservedAttributes
.ScopedRefAttribute) != 0 &&
1594
else if ((reserved &
ReservedAttributes
.RefSafetyRulesAttribute) != 0 &&