Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/Compilers/Core/MSBuildTask/ManagedCompiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -487,10 +487,11 @@ public bool ReportIVTs
get { return _store.GetOrDefault(nameof(ReportIVTs), false); }
}

// Keeping this for a while to avoid failures if someone uses sdk targets that still set this.
public string? CompilerType
{
set { _store[nameof(CompilerType)] = value; }
get { return (string?)_store[nameof(CompilerType)]; }
set { }
get { return null; }
}

#endregion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
ChecksumAlgorithm="$(ChecksumAlgorithm)"
CodeAnalysisRuleSet="$(ResolvedCodeAnalysisRuleSet)"
CodePage="$(CodePage)"
CompilerType="$(RoslynCompilerType)"
DebugType="$(DebugType)"
DefineConstants="$(DefineConstants)"
DelaySign="$(DelaySign)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
ChecksumAlgorithm="$(ChecksumAlgorithm)"
CodeAnalysisRuleSet="$(ResolvedCodeAnalysisRuleSet)"
CodePage="$(CodePage)"
CompilerType="$(RoslynCompilerType)"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider leaving a comment on ManagedCompiler.CompilerType and removing the logic it contains

DebugType="$(DebugType)"
DefineConstants="$(FinalDefineConstants)"
DelaySign="$(DelaySign)"
Expand Down