19 overrides of IsReadOnly
Microsoft.CodeAnalysis.CSharp (19)
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
110public sealed override bool IsReadOnly
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
165public sealed override bool IsReadOnly
Symbols\ArrayTypeSymbol.cs (1)
248public sealed override bool IsReadOnly
Symbols\DynamicTypeSymbol.cs (1)
119public sealed override bool IsReadOnly
Symbols\ErrorTypeSymbol.cs (1)
116public sealed override bool IsReadOnly
Symbols\FunctionPointers\FunctionPointerTypeSymbol.cs (1)
77public override bool IsReadOnly => false;
Symbols\FunctionTypeSymbol.cs (1)
106public override bool IsReadOnly => true;
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
2306public override bool IsReadOnly
Symbols\PointerTypeSymbol.cs (1)
119public sealed override bool IsReadOnly
Symbols\Source\SourceMemberContainerSymbol.cs (1)
845public override bool IsReadOnly => HasFlag(DeclarationModifiers.ReadOnly);
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
142public override bool IsReadOnly => false;
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
819public override bool IsReadOnly => false;
Symbols\Synthesized\SynthesizedContainer.cs (1)
156public sealed override bool IsReadOnly => false;
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (1)
92public override bool IsReadOnly => false;
Symbols\Synthesized\SynthesizedHotReloadExceptionSymbol.cs (1)
99public override bool IsReadOnly => false;
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
67public override bool IsReadOnly => true;
Symbols\Synthesized\SynthesizedPrivateImplementationDetailsType.cs (1)
60public override bool IsReadOnly => false;
Symbols\TypeParameterSymbol.cs (1)
607public sealed override bool IsReadOnly
Symbols\Wrapped\WrappedNamedTypeSymbol.cs (1)
232public override bool IsReadOnly
11 references to IsReadOnly
Microsoft.CodeAnalysis.CSharp (11)
Lowering\SpillSequenceSpiller.cs (1)
1076result = receiver.Type.IsReadOnly ? RefKind.In : RefKind.Ref;
Symbols\MethodSymbol.cs (1)
367internal virtual bool IsEffectivelyReadOnly => (IsDeclaredReadOnly || ContainingType?.IsReadOnly == true) && IsValidReadOnlyTarget;
Symbols\PublicModel\TypeSymbol.cs (1)
173bool ITypeSymbol.IsReadOnly => UnderlyingTypeSymbol.IsReadOnly;
Symbols\Source\SourceFieldLikeEventSymbol.cs (1)
90if (!IsStatic && ContainingType.IsReadOnly)
Symbols\Source\SourceMemberMethodSymbol.cs (2)
956if (IsDeclaredReadOnly && !ContainingType.IsReadOnly) 1012if (IsDeclaredReadOnly && !ContainingType.IsReadOnly)
Symbols\Source\SourcePropertySymbolBase.cs (2)
801if (!IsStatic && ContainingType.IsReadOnly) 875if (ContainingType.IsReadOnly)
Symbols\Synthesized\Records\SynthesizedRecordPrintMembers.cs (1)
296return containingType.IsReadOnly || (containingType.IsRecordStruct && AreAllPrintablePropertyGettersReadOnly(userDefinedMembers));
Symbols\Synthesized\Records\SynthesizedRecordPropertySymbol.cs (1)
73return !container.IsStructType() || container.IsReadOnly;
Symbols\Wrapped\WrappedNamedTypeSymbol.cs (1)
234get { return _underlyingType.IsReadOnly; }