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)
815
ReservedAttributes
.DynamicAttribute |
816
ReservedAttributes
.IsReadOnlyAttribute |
817
ReservedAttributes
.RequiresLocationAttribute |
818
ReservedAttributes
.IsUnmanagedAttribute |
819
ReservedAttributes
.IsByRefLikeAttribute |
820
ReservedAttributes
.TupleElementNamesAttribute |
821
ReservedAttributes
.NullableAttribute |
822
ReservedAttributes
.NativeIntegerAttribute |
823
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))
792
ReservedAttributes
.DynamicAttribute |
793
ReservedAttributes
.IsUnmanagedAttribute |
794
ReservedAttributes
.IsReadOnlyAttribute |
795
ReservedAttributes
.RequiresLocationAttribute |
796
ReservedAttributes
.IsByRefLikeAttribute |
797
ReservedAttributes
.TupleElementNamesAttribute |
798
ReservedAttributes
.NullableAttribute |
799
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 &&