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)
3407
if (!Compilation.IsFeatureEnabled(MessageID.
IDS_FeatureRefReadonlyParameters
))
3414
var available = CheckFeatureAvailability(argument.Syntax, MessageID.
IDS_FeatureRefReadonlyParameters
, diagnostics);
Binder\Semantics\OverloadResolution\OverloadResolution.cs (2)
3877
if (argRefKind == RefKind.Ref && binder.Compilation.IsFeatureEnabled(MessageID.
IDS_FeatureRefReadonlyParameters
))
3924
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)
501
case MessageID.
IDS_FeatureRefReadonlyParameters
: // semantic check
Symbols\Source\ParameterHelpers.cs (1)
613
Binder.CheckFeatureAvailability(modifier, MessageID.
IDS_FeatureRefReadonlyParameters
, diagnostics);