10 references to IDS_FeatureRefReadonlyParameters
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Crefs.cs (1)
938
CheckFeatureAvailability(parameter.ReadOnlyKeyword, MessageID.
IDS_FeatureRefReadonlyParameters
, diagnostics, forceWarning: true);
Binder\Binder_Expressions.cs (2)
3410
if (!Compilation.IsFeatureEnabled(MessageID.
IDS_FeatureRefReadonlyParameters
))
3417
var available = CheckFeatureAvailability(argument.Syntax, MessageID.
IDS_FeatureRefReadonlyParameters
, diagnostics);
Binder\Semantics\OverloadResolution\OverloadResolution.cs (2)
3898
if (argRefKind == RefKind.Ref && binder.Compilation.IsFeatureEnabled(MessageID.
IDS_FeatureRefReadonlyParameters
))
3945
if (compilation.IsFeatureEnabled(MessageID.
IDS_FeatureRefReadonlyParameters
) &&
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (3)
1254
!(refArg == RefKind.Ref && refParameter == RefKind.In && binder.Compilation.IsFeatureEnabled(MessageID.
IDS_FeatureRefReadonlyParameters
)) &&
1265
else if (refArg == RefKind.Ref && refParameter == RefKind.In && !binder.Compilation.IsFeatureEnabled(MessageID.
IDS_FeatureRefReadonlyParameters
))
1274
new CSharpRequiredLanguageVersion(MessageID.
IDS_FeatureRefReadonlyParameters
.RequiredVersion()));
Errors\MessageID.cs (1)
503
case MessageID.
IDS_FeatureRefReadonlyParameters
: // semantic check
Symbols\Source\ParameterHelpers.cs (1)
613
Binder.CheckFeatureAvailability(modifier, MessageID.
IDS_FeatureRefReadonlyParameters
, diagnostics);