23 references to System_Runtime_CompilerServices_IsReadOnlyAttribute
Microsoft.CodeAnalysis (1)
WellKnownMembers.cs (1)
3292
(byte)WellKnownType.ExtSentinel, (byte)(WellKnownType.
System_Runtime_CompilerServices_IsReadOnlyAttribute
- WellKnownType.ExtSentinel), // DeclaringTypeId
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Compilation_WellKnownMembers.cs (1)
584
WellKnownType.
System_Runtime_CompilerServices_IsReadOnlyAttribute
,
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
474
DeclaringCompilation.GetWellKnownType(WellKnownType.
System_Runtime_CompilerServices_IsReadOnlyAttribute
) is MissingMetadataTypeSymbol);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (5)
CodeGen\CodeGenReadonlyStructTests.cs (5)
839
AssertDeclaresType(peModule, WellKnownType.
System_Runtime_CompilerServices_IsReadOnlyAttribute
, Accessibility.Internal);
1388
AssertDeclaresType(peModule, WellKnownType.
System_Runtime_CompilerServices_IsReadOnlyAttribute
, Accessibility.Internal);
1456
AssertDeclaresType(peModule, WellKnownType.
System_Runtime_CompilerServices_IsReadOnlyAttribute
, Accessibility.Internal);
1524
AssertDeclaresType(peModule, WellKnownType.
System_Runtime_CompilerServices_IsReadOnlyAttribute
, Accessibility.Internal);
2604
AssertDeclaresType(peModule, WellKnownType.
System_Runtime_CompilerServices_IsReadOnlyAttribute
, Accessibility.Internal);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (14)
Attributes\AttributeTests_ReadOnlyStruct.cs (3)
45
AssertDeclaresType(peModule, WellKnownType.
System_Runtime_CompilerServices_IsReadOnlyAttribute
, Accessibility.Public);
363
var isReadOnlyAttributeName = WellKnownTypes.GetMetadataName(WellKnownType.
System_Runtime_CompilerServices_IsReadOnlyAttribute
);
652
var isReadOnlyAttributeTypeName = WellKnownTypes.GetMetadataName(WellKnownType.
System_Runtime_CompilerServices_IsReadOnlyAttribute
);
Attributes\AttributeTests_RefReadOnly.cs (11)
51
AssertDeclaresType(peModule, WellKnownType.
System_Runtime_CompilerServices_IsReadOnlyAttribute
, Accessibility.Public);
74
AssertDeclaresType(peModule, WellKnownType.
System_Runtime_CompilerServices_IsReadOnlyAttribute
, Accessibility.Internal);
1068
var isReadOnlyAttributeName = WellKnownTypes.GetMetadataName(WellKnownType.
System_Runtime_CompilerServices_IsReadOnlyAttribute
);
1588
var isReadOnlyAttributeName = WellKnownTypes.GetMetadataName(WellKnownType.
System_Runtime_CompilerServices_IsReadOnlyAttribute
);
1630
var isReadOnlyAttributeName = WellKnownTypes.GetMetadataName(WellKnownType.
System_Runtime_CompilerServices_IsReadOnlyAttribute
);
1814
var typeName = WellKnownTypes.GetMetadataName(WellKnownType.
System_Runtime_CompilerServices_IsReadOnlyAttribute
);
1863
var typeName = WellKnownTypes.GetMetadataName(WellKnownType.
System_Runtime_CompilerServices_IsReadOnlyAttribute
);
1903
var isReadOnlyAttributeName = WellKnownTypes.GetMetadataName(WellKnownType.
System_Runtime_CompilerServices_IsReadOnlyAttribute
);
1972
var typeName = WellKnownTypes.GetMetadataName(WellKnownType.
System_Runtime_CompilerServices_IsReadOnlyAttribute
);
2021
var typeName = WellKnownTypes.GetMetadataName(WellKnownType.
System_Runtime_CompilerServices_IsReadOnlyAttribute
);
2544
var isReadOnlyAttributeTypeName = WellKnownTypes.GetMetadataName(WellKnownType.
System_Runtime_CompilerServices_IsReadOnlyAttribute
);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\MissingSpecialMember.cs (1)
612
case WellKnownType.
System_Runtime_CompilerServices_IsReadOnlyAttribute
: