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)
139
var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.DotNet.Cli.Commands.Run.
BuildLevel
>
154
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),
157
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)
201
projectFactory = CanUseRunPropertiesForCscBuiltProgram(
BuildLevel
.None, cacheEntry) ? null : projectBuilder.CreateProjectInstance;
517
private static bool CanUseRunPropertiesForCscBuiltProgram(
BuildLevel
level, RunFileBuildCacheEntry? previousCache)
519
return level ==
BuildLevel
.Csc ||
520
(level ==
BuildLevel
.None && previousCache?.BuildLevel ==
BuildLevel
.Csc);
1097
usedMSBuild: projectBuilder.LastBuild.Level is
BuildLevel
.All,
1098
usedRoslynCompiler: projectBuilder.LastBuild.Level is
BuildLevel
.Csc);
Commands\Run\VirtualProjectBuildingCommand.cs (21)
101
public (
BuildLevel
Level, CacheInfo? Cache) LastBuild { get; private set; }
187
LastBuild = (
BuildLevel
.None, Cache: null);
195
LastBuild = (
BuildLevel
.None, Cache: null);
208
cache?.CurrentEntry.BuildLevel =
BuildLevel
.All;
209
LastBuild = (
BuildLevel
.All, cache);
213
var
buildLevel = GetBuildLevel(out cache);
217
if (buildLevel is
BuildLevel
.None)
231
if (buildLevel is
BuildLevel
.Csc)
267
Debug.Assert(buildLevel is
BuildLevel
.All or
BuildLevel
.Csc);
756
if (PreviousEntry?.BuildLevel !=
BuildLevel
.Csc)
1050
private
BuildLevel
GetBuildLevel(out CacheInfo? cache)
1055
return
BuildLevel
.None;
1060
return
BuildLevel
.All;
1073
return
BuildLevel
.Csc;
1082
return
BuildLevel
.All;
1090
return
BuildLevel
.All;
1097
return
BuildLevel
.All;
1105
return
BuildLevel
.All;
1127
return
BuildLevel
.Csc;
1338
public
BuildLevel
BuildLevel { get; set; }