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