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