Skip to content

Commit 924e340

Browse files
committed
fix #481
1 parent 7f6bb8d commit 924e340

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

BuildScripts/MakeInternal.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ New-Item -ItemType Directory -Force -Path $outputFolder | Out-Null
1212
ForEach ($file in $inputFiles)
1313
{
1414
$content = Get-Content -path $file
15-
$content = $content -creplace "public(?=\s+(((abstract|sealed|static)\s+)?(partial\s+)?class|delegate|enum|interface|struct))", "internal"
15+
$content = $content -creplace "public(?=\s+(((abstract|sealed|static|record)\s+)?(partial\s+)?class|delegate|enum|interface|struct|record))", "internal"
1616
$outputPath = Join-Path $outputFolder (Split-Path $file -Leaf)
1717
Out-File $outputPath UTF8 -InputObject $content
1818
}

src/FastExpressionCompiler/FastExpressionCompiler.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,13 @@ THE SOFTWARE.
3131
#if DEBUG && NET6_0_OR_GREATER
3232
#define DEBUG_INFO_LOCAL_VARIABLE_USAGE
3333
#define DEMIT
34+
#define INTERPRETATION_DIAGNOSTICS
3435
#endif
36+
3537
#if LIGHT_EXPRESSION
3638
#define SUPPORTS_ARGUMENT_PROVIDER
3739
#endif
38-
//#define INTERPRETATION_DIAGNOSTICS
40+
3941
#if LIGHT_EXPRESSION
4042
namespace FastExpressionCompiler.LightExpression
4143
{

src/FastExpressionCompiler/ILReader.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
#if DEBUG
12
// #define DEBUG_INTERNALS
3+
#endif
24

35
using System;
46
using System.IO;

src/FastExpressionCompiler/TestTools.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
#if LIGHT_EXPRESSION
1414
namespace FastExpressionCompiler.LightExpression;
15-
1615
using FastExpressionCompiler.LightExpression.ILDecoder;
1716
using FastExpressionCompiler.LightExpression.ImTools;
1817
#else

0 commit comments

Comments
 (0)