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)
137var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.DotNet.Cli.Commands.Run.BuildLevel> 152AttributeProviderFactory = 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), 155properties[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)
200projectFactory = CanUseRunPropertiesForCscBuiltProgram(BuildLevel.None, cacheEntry) ? null : projectBuilder.CreateProjectInstance; 516private static bool CanUseRunPropertiesForCscBuiltProgram(BuildLevel level, RunFileBuildCacheEntry? previousCache) 518return level == BuildLevel.Csc || 519(level == BuildLevel.None && previousCache?.BuildLevel == BuildLevel.Csc); 1096usedMSBuild: projectBuilder.LastBuild.Level is BuildLevel.All, 1097usedRoslynCompiler: projectBuilder.LastBuild.Level is BuildLevel.Csc);
Commands\Run\VirtualProjectBuildingCommand.cs (21)
101public (BuildLevel Level, CacheInfo? Cache) LastBuild { get; private set; } 185LastBuild = (BuildLevel.None, Cache: null); 193LastBuild = (BuildLevel.None, Cache: null); 206cache?.CurrentEntry.BuildLevel = BuildLevel.All; 207LastBuild = (BuildLevel.All, cache); 211var buildLevel = GetBuildLevel(out cache); 215if (buildLevel is BuildLevel.None) 229if (buildLevel is BuildLevel.Csc) 265Debug.Assert(buildLevel is BuildLevel.All or BuildLevel.Csc); 751if (PreviousEntry?.BuildLevel != BuildLevel.Csc) 1045private BuildLevel GetBuildLevel(out CacheInfo? cache) 1050return BuildLevel.None; 1055return BuildLevel.All; 1068return BuildLevel.Csc; 1077return BuildLevel.All; 1085return BuildLevel.All; 1092return BuildLevel.All; 1100return BuildLevel.All; 1122return BuildLevel.Csc; 1330public BuildLevel BuildLevel { get; set; }