Rename IsCurrentRuntimeSupported() to SupportsCurrentRuntime().

This commit is contained in:
Eric Erhardt 2016-10-03 12:45:39 -05:00
parent 283bf7139e
commit f065a29704
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ namespace Microsoft.DotNet.Cli.Utils
// osx.10.11, the project.json "runtimes" section cannot contain osx.10.12, since
// that RID isn't contained in the runtime graph - users will get a restore error.
FrameworkDependencyFile fxDepsFile = new FrameworkDependencyFile();
if (!fxDepsFile.IsCurrentRuntimeSupported())
if (!fxDepsFile.SupportsCurrentRuntime())
{
string buildRid = DotnetFiles.VersionFileObject.BuildRid;
if (!string.IsNullOrEmpty(buildRid))

View file

@ -21,7 +21,7 @@ namespace Microsoft.DotNet.Cli.Utils
_depsFilePath = Muxer.GetDataFromAppDomain("FX_DEPS_FILE");
}
public bool IsCurrentRuntimeSupported()
public bool SupportsCurrentRuntime()
{
return IsRuntimeSupported(RuntimeEnvironment.GetRuntimeIdentifier());
}