19 overrides of IsReadOnly
Microsoft.CodeAnalysis.CSharp (19)
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
121public sealed override bool IsReadOnly
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
176public sealed override bool IsReadOnly
Symbols\ArrayTypeSymbol.cs (1)
249public sealed override bool IsReadOnly
Symbols\DynamicTypeSymbol.cs (1)
120public sealed override bool IsReadOnly
Symbols\ErrorTypeSymbol.cs (1)
123public sealed override bool IsReadOnly
Symbols\FunctionPointers\FunctionPointerTypeSymbol.cs (1)
78public override bool IsReadOnly => false;
Symbols\FunctionTypeSymbol.cs (1)
106public override bool IsReadOnly => true;
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
2935public override bool IsReadOnly
Symbols\PointerTypeSymbol.cs (1)
120public sealed override bool IsReadOnly
Symbols\Source\SourceMemberContainerSymbol.cs (1)
891public override bool IsReadOnly => HasFlag(DeclarationModifiers.ReadOnly);
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
155public override bool IsReadOnly => false;
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
868public override bool IsReadOnly => false;
Symbols\Synthesized\SynthesizedContainer.cs (1)
162public sealed override bool IsReadOnly => false;
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (1)
97public override bool IsReadOnly => false;
Symbols\Synthesized\SynthesizedHotReloadExceptionSymbol.cs (1)
117public override bool IsReadOnly => false;
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
72public override bool IsReadOnly => true;
Symbols\Synthesized\SynthesizedPrivateImplementationDetailsType.cs (1)
65public override bool IsReadOnly => false;
Symbols\TypeParameterSymbol.cs (1)
608public sealed override bool IsReadOnly
Symbols\Wrapped\WrappedNamedTypeSymbol.cs (1)
234public override bool IsReadOnly
12 references to IsReadOnly
Microsoft.CodeAnalysis.CSharp (12)
CodeGen\EmitExpression.cs (1)
1914addressKind = receiverType.IsReadOnly ? AddressKind.ReadOnly : AddressKind.Writeable;
Lowering\SpillSequenceSpiller.cs (1)
1090result = receiver.Type.IsReadOnly ? RefKind.In : RefKind.Ref;
Symbols\MethodSymbol.cs (1)
380internal virtual bool IsEffectivelyReadOnly => (IsDeclaredReadOnly || ContainingType?.IsReadOnly == true) && IsValidReadOnlyTarget;
Symbols\PublicModel\TypeSymbol.cs (1)
199bool ITypeSymbol.IsReadOnly => UnderlyingTypeSymbol.IsReadOnly;
Symbols\Source\SourceFieldLikeEventSymbol.cs (1)
97if (!IsStatic && ContainingType.IsReadOnly)
Symbols\Source\SourceMemberMethodSymbol.cs (1)
972if (IsDeclaredReadOnly && !ContainingType.IsReadOnly)
Symbols\Source\SourceMethodSymbol.cs (1)
148if (target.IsDeclaredReadOnly && !target.ContainingType.IsReadOnly)
Symbols\Source\SourcePropertySymbolBase.cs (2)
819if (!IsStatic && ContainingType.IsReadOnly) 893if (ContainingType.IsReadOnly)
Symbols\Synthesized\Records\SynthesizedRecordPrintMembers.cs (1)
307return containingType.IsReadOnly || (containingType.IsRecordStruct && AreAllPrintablePropertyGettersReadOnly(userDefinedMembers));
Symbols\Synthesized\Records\SynthesizedRecordPropertySymbol.cs (1)
76return !container.IsStructType() || container.IsReadOnly;
Symbols\Wrapped\WrappedNamedTypeSymbol.cs (1)
236get { return _underlyingType.IsReadOnly; }