Skip to content

Commit 00e5801

Browse files
committed
Remove obsolete
1 parent 8da15f3 commit 00e5801

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/Compilers/Core/Portable/CodeGen/ILBuilderEmit.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ internal void EmitStringConstant(string? value, SyntaxNode? syntax)
741741

742742
// If the length is greater than the specified threshold try lfsfld first and fall back to ldstr.
743743
// Otherwise, try emit ldstr and fall back to ldsfld if emitting EnC delta and the heap is already full.
744-
bool success = (value.Length >= module.CommonCompilation.DataSectionStringLiteralThreshold)
744+
bool success = (value.Length > module.CommonCompilation.DataSectionStringLiteralThreshold)
745745
? tryEmitLoadField() || tryEmitLoadString()
746746
: tryEmitLoadString() || module.PreviousGeneration != null && tryEmitLoadField();
747747

src/Compilers/Core/Portable/Compilation/Compilation.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3087,7 +3087,6 @@ public EmitDifferenceResult EmitDifference(
30873087
/// of the current compilation is returned as an EmitBaseline for use in a
30883088
/// subsequent Edit and Continue.
30893089
/// </summary>
3090-
[Obsolete("Use overload that takes EmitDifferenceOptions")]
30913090
public EmitDifferenceResult EmitDifference(
30923091
EmitBaseline baseline,
30933092
IEnumerable<SemanticEdit> edits,

0 commit comments

Comments
 (0)