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