7 references to ReadOnlyStrict
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder.ValueChecks.cs (1)
5868
if (addressKind == AddressKind.
ReadOnlyStrict
)
CodeGen\EmitAddress.cs (1)
558
(addressKind != AddressKind.
ReadOnlyStrict
? AddressKind.ReadOnly : addressKind));
CodeGen\EmitExpression.cs (3)
732
var unexpectedTemp = EmitAddress(argument, refKind == RefKindExtensions.StrictIn ? AddressKind.
ReadOnlyStrict
: AddressKind.Writeable);
749
var temp = EmitAddress(expression.Operand, AddressKind.
ReadOnlyStrict
);
2994
LocalDefinition temp = EmitAddress(assignmentOperator.Right, lhs.GetRefKind() is RefKind.RefReadOnly or RefKindExtensions.StrictIn or RefKind.RefReadOnlyParameter ? AddressKind.
ReadOnlyStrict
: AddressKind.Writeable);
CodeGen\EmitStatement.cs (1)
873
var unexpectedTemp = this.EmitAddress(expressionOpt, this._method.RefKind == RefKind.RefReadOnly ? AddressKind.
ReadOnlyStrict
: AddressKind.Writeable);
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
291
thisRefKind == RefKind.Ref ? Binder.AddressKind.Writeable : Binder.AddressKind.
ReadOnlyStrict
,