@@ -39,12 +39,15 @@ public class Config
3939
4040 private Lazy < string > _dotNetVersionUrl = new Lazy < string > ( ( ) => GetEnvironmentVariable ( "DOTNET_VERSION_URL" , "https://raw.githubusercontent.com/dotnet/versions/master/build-info" ) ) ;
4141 private Lazy < string > _coreSetupVersionFragment = new Lazy < string > ( ( ) => GetEnvironmentVariable ( "CORESETUP_VERSION_FRAGMENT" , GetDefaultCoreSetupVersionFragment ( ) ) ) ;
42+
43+ private Lazy < string > _roslynVersionFragment = new Lazy < string > ( ( ) => GetEnvironmentVariable ( "ROSLYN_VERSION_FRAGMENT" ) ) ;
4244 private Lazy < string > _gitHubUpstreamOwner = new Lazy < string > ( ( ) => GetEnvironmentVariable ( "GITHUB_UPSTREAM_OWNER" , "dotnet" ) ) ;
4345 private Lazy < string > _gitHubProject = new Lazy < string > ( ( ) => GetEnvironmentVariable ( "GITHUB_PROJECT" , "cli" ) ) ;
4446 private Lazy < string > _gitHubUpstreamBranch = new Lazy < string > ( ( ) => GetEnvironmentVariable ( "GITHUB_UPSTREAM_BRANCH" , GetDefaultUpstreamBranch ( ) ) ) ;
4547 private Lazy < string [ ] > _gitHubPullRequestNotifications = new Lazy < string [ ] > ( ( ) =>
4648 GetEnvironmentVariable ( "GITHUB_PULL_REQUEST_NOTIFICATIONS" , "" )
4749 . Split ( new [ ] { ';' } , StringSplitOptions . RemoveEmptyEntries ) ) ;
50+
4851 private Config ( )
4952 {
5053 }
@@ -54,6 +57,8 @@ private Config()
5457 public string Password => _password . Value ;
5558 public string DotNetVersionUrl => _dotNetVersionUrl . Value ;
5659 public string CoreSetupVersionFragment => _coreSetupVersionFragment . Value ;
60+ public string RoslynVersionFragment => _roslynVersionFragment . Value ;
61+ public bool HasRoslynVersionFragment => ! string . IsNullOrEmpty ( RoslynVersionFragment ) ;
5762 public string GitHubUpstreamOwner => _gitHubUpstreamOwner . Value ;
5863 public string GitHubProject => _gitHubProject . Value ;
5964 public string GitHubUpstreamBranch => _gitHubUpstreamBranch . Value ;
0 commit comments