23 instantiations of CSharpRequiredLanguageVersion
Microsoft.CodeAnalysis.CSharp (23)
Binder\Binder_Expressions.cs (1)
3335
new
CSharpRequiredLanguageVersion
(MessageID.IDS_FeatureNonTrailingNamedArguments.RequiredVersion()));
Binder\Binder_InterpolatedString.cs (2)
37
new
CSharpRequiredLanguageVersion
(MessageID.IDS_FeatureAltInterpolatedVerbatimStrings.RequiredVersion()));
86
new
CSharpRequiredLanguageVersion
(MessageID.IDS_FeatureNewLinesInInterpolations.RequiredVersion()));
Binder\Binder_Patterns.cs (2)
635
expression.Syntax.Location, inputType, expression.Display, new
CSharpRequiredLanguageVersion
(requiredVersion));
779
new
CSharpRequiredLanguageVersion
(requiredVersion));
Binder\Binder_Symbols.cs (1)
620
return new CSDiagnosticInfo(ErrorCode.ERR_NullableUnconstrainedTypeParameter, new
CSharpRequiredLanguageVersion
(requiredVersion));
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
1274
new
CSharpRequiredLanguageVersion
(MessageID.IDS_FeatureRefReadonlyParameters.RequiredVersion()));
CommandLine\CSharpCommandLineParser.cs (1)
1540
new
CSharpRequiredLanguageVersion
(MessageID.IDS_FeatureNullableReferenceTypes.RequiredVersion())), Location.None));
Compilation\CSharpCompilation.cs (1)
2971
new
CSharpRequiredLanguageVersion
(MessageID.IDS_FeatureNullableReferenceTypes.RequiredVersion())), Location.None));
Errors\MessageID.cs (1)
463
: new CSDiagnosticInfo(availableVersion.GetErrorCode(), feature.Localize(), new
CSharpRequiredLanguageVersion
(requiredVersion));
FlowAnalysis\DefiniteAssignment.cs (3)
500
new
CSharpRequiredLanguageVersion
(MessageID.IDS_FeatureAutoDefaultStructs.RequiredVersion()));
1302
new
CSharpRequiredLanguageVersion
(MessageID.IDS_FeatureAutoDefaultStructs.RequiredVersion()));
1358
new
CSharpRequiredLanguageVersion
(MessageID.IDS_FeatureAutoDefaultStructs.RequiredVersion()));
Parser\DirectiveParser.cs (1)
350
eod = this.AddError(eod, triviaOffset, triviaWidth, error, "version", new
CSharpRequiredLanguageVersion
(languageVersion));
Symbols\Source\ModifierUtils.cs (1)
197
var requiredVersionArgument = new
CSharpRequiredLanguageVersion
(requiredVersion);
Symbols\Source\SourceMemberContainerSymbol.cs (1)
4466
new
CSharpRequiredLanguageVersion
(requiredVersion));
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
174
var requiredVersionArgument = new
CSharpRequiredLanguageVersion
(requiredVersion);
Symbols\Synthesized\SynthesizedBackingFieldSymbol.cs (1)
181
new
CSharpRequiredLanguageVersion
(MessageID.IDS_FeatureAttributesOnBackingFields.RequiredVersion())),
Symbols\Tuples\TupleFieldSymbol.cs (1)
284
new
CSharpRequiredLanguageVersion
(MessageID.IDS_FeatureInferredTupleNames.RequiredVersion())));
Symbols\TypeSymbol.cs (3)
1021
availableVersion.GetValueOrDefault().ToDisplayString(), new
CSharpRequiredLanguageVersion
(requiredVersion));
1648
new
CSharpRequiredLanguageVersion
(requiredVersion));
1749
new
CSharpRequiredLanguageVersion
(requiredVersion));
Symbols\VarianceSafety.cs (1)
475
new
CSharpRequiredLanguageVersion
(MessageID.IDS_FeatureVarianceSafetyForStaticInterfaceMembers.RequiredVersion()));
3 references to CSharpRequiredLanguageVersion
Microsoft.CodeAnalysis.CSharp (3)
Symbols\Source\ModifierUtils.cs (1)
197
var
requiredVersionArgument = new CSharpRequiredLanguageVersion(requiredVersion);
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (2)
174
var
requiredVersionArgument = new CSharpRequiredLanguageVersion(requiredVersion);
207
static void reportModifierIfPresent(DeclarationModifiers result, DeclarationModifiers errorModifier, Location location, BindingDiagnosticBag diagnostics,
CSharpRequiredLanguageVersion
requiredVersionArgument, string availableVersionArgument)