41 references to BuildLevel
dotnet (41)
_generated\40\RunFileJsonSerializerContext.BuildLevel.g.cs (9)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.BuildLevel>? _BuildLevel; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.BuildLevel> BuildLevel 22get => _BuildLevel ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.BuildLevel>)Options.GetTypeInfo(typeof(global::Microsoft.DotNet.Cli.Commands.Run.BuildLevel)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.BuildLevel> Create_BuildLevel(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.DotNet.Cli.Commands.Run.BuildLevel>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.DotNet.Cli.Commands.Run.BuildLevel> jsonTypeInfo)) 29jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::Microsoft.DotNet.Cli.Commands.Run.BuildLevel>(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetEnumConverter<global::Microsoft.DotNet.Cli.Commands.Run.BuildLevel>(options));
_generated\41\RunFileJsonSerializerContext.RunFileBuildCacheEntry.g.cs (3)
139var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.DotNet.Cli.Commands.Run.BuildLevel> 154AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.Cli.Commands.Run.RunFileBuildCacheEntry).GetProperty("BuildLevel", InstanceMemberBindingFlags, null, typeof(global::Microsoft.DotNet.Cli.Commands.Run.BuildLevel), global::System.Array.Empty<global::System.Type>(), null), 157properties[4] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.DotNet.Cli.Commands.Run.BuildLevel>(options, info4);
_generated\50\RunFileJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
26if (type == typeof(global::Microsoft.DotNet.Cli.Commands.Run.BuildLevel))
Commands\Run\RunCommand.cs (7)
201projectFactory = CanUseRunPropertiesForCscBuiltProgram(BuildLevel.None, cacheEntry) ? null : projectBuilder.CreateProjectInstance; 517private static bool CanUseRunPropertiesForCscBuiltProgram(BuildLevel level, RunFileBuildCacheEntry? previousCache) 519return level == BuildLevel.Csc || 520(level == BuildLevel.None && previousCache?.BuildLevel == BuildLevel.Csc); 1097usedMSBuild: projectBuilder.LastBuild.Level is BuildLevel.All, 1098usedRoslynCompiler: projectBuilder.LastBuild.Level is BuildLevel.Csc);
Commands\Run\VirtualProjectBuildingCommand.cs (21)
101public (BuildLevel Level, CacheInfo? Cache) LastBuild { get; private set; } 187LastBuild = (BuildLevel.None, Cache: null); 195LastBuild = (BuildLevel.None, Cache: null); 208cache?.CurrentEntry.BuildLevel = BuildLevel.All; 209LastBuild = (BuildLevel.All, cache); 213var buildLevel = GetBuildLevel(out cache); 217if (buildLevel is BuildLevel.None) 231if (buildLevel is BuildLevel.Csc) 267Debug.Assert(buildLevel is BuildLevel.All or BuildLevel.Csc); 756if (PreviousEntry?.BuildLevel != BuildLevel.Csc) 1050private BuildLevel GetBuildLevel(out CacheInfo? cache) 1055return BuildLevel.None; 1060return BuildLevel.All; 1073return BuildLevel.Csc; 1082return BuildLevel.All; 1090return BuildLevel.All; 1097return BuildLevel.All; 1105return BuildLevel.All; 1127return BuildLevel.Csc; 1338public BuildLevel BuildLevel { get; set; }