Skip to content

Commit dd39fc8

Browse files
committed
Merge remote-tracking branch 'upstream/main' into merges/main-to-release/dev17.4
2 parents 8eec469 + 8cd8973 commit dd39fc8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+250
-209
lines changed

INTERNAL.md

+11
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,17 @@ Update the `insertTargetBranch` value at the bottom of `azure-pipelines.yml` in
7777
7. Note, the help in the `darc` tool is really good. E.g., you can simply run `darc` to see a list of all commands available, and if you run `darc <some-command>` with no arguments, you'll be given a list of arguments you can use.
7878
8. Ensure that version numbers are bumped for a new branch.
7979

80+
## Labeling issues on GitHub
81+
82+
Assign appropriate `Area-*` label to bugs, feature improvements and feature requests issues alike. List of `Area` labels with descriptions can be found [here](https://github.com/dotnet/fsharp/labels?q=Area). These areas are laid out to follow the logical organization of the code.
83+
84+
To find all existing open issues without assigned `Area` label, use [this query](https://github.com/dotnet/fsharp/issues?q=is%3Aissue+is%3Aopen+-label%3AArea-AOT+-label%3AArea-Async+-label%3AArea-Build+-label%3AArea-Compiler+-label%3AArea-Compiler-Checking+-label%3AArea-Compiler-CodeGen+-label%3AArea-Compiler-HashCompare+-label%3AArea-Compiler-ImportAndInterop+-label%3AArea-Compiler-Optimization+-label%3AArea-Compiler-Options+-label%3AArea-Compiler-PatternMatching+-label%3AArea-Compiler-Service+-label%3AArea-Compiler-SigFileGen+-label%3AArea-Compiler-SRTP+-label%3AArea-Compiler-StateMachines+-label%3AArea-Compiler-Syntax+-label%3AArea-ComputationExpressions+-label%3AArea-Debug+-label%3AArea-DependencyManager+-label%3AArea-Diagnostics+-label%3AArea-FCS+-label%3AArea-FSC+-label%3AArea-FSI+-label%3AArea-Infrastructure+-label%3AArea-LangService-API+-label%3AArea-LangService-AutoComplete+-label%3AArea-LangService-BlockStructure+-label%3AArea-LangService-CodeLens+-label%3AArea-LangService-Colorization+-label%3AArea-LangService-Diagnostics+-label%3AArea-LangService-FindAllReferences+-label%3AArea-LangService-Navigation+-label%3AArea-LangService-QuickFixes+-label%3AArea-LangService-RenameSymbol+-label%3AArea-LangService-ToolTips+-label%3AArea-LangService-UnusedDeclarations+-label%3AArea-LangService-UnusedOpens+-label%3AArea-Library+-label%3AArea-ProjectsAndBuild+-label%3AArea-Queries+-label%3AArea-Quotations+-label%3AArea-SetupAndDelivery+-label%3AArea-Testing+-label%3AArea-TypeProviders+-label%3AArea-UoM+-label%3AArea-VS+-label%3AArea-VS-Editor+-label%3AArea-VS-FSI+-label%3AArea-XmlDocs)
85+
86+
Since github issue filtering is currently not flexible enough, that query was generated by pasting output of this PowerShell command to the search box (might need to be rerun if new kinds of `Area` labels are added):
87+
```ps1
88+
Invoke-WebRequest -Uri "https://api.github.com/repos/dotnet/fsharp/labels?per_page=100" | ConvertFrom-Json | % { $_.name } | ? { $_.StartsWith("Area-") } | % { Write-Host -NoNewLine ('-label:"' + $_ + '" ') }
89+
```
90+
8091
## Less interesting links
8192

8293
[FSharp.Core (Official NuGet Release)](https://dev.azure.com/dnceng/internal/_release?_a=releases&definitionId=72).

NuGet.config

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
1010
<add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
1111
<add key="dotnet5" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5/nuget/v3/index.json" />
12-
<add key="dotnet5-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet5-transport/nuget/v3/index.json" />
12+
<add key="dotnet6" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" />
13+
<add key="dotnet7" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json" />
14+
<add key="dotnet7-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7-transport/nuget/v3/index.json" />
1315
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
1416
<add key="vssdk" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vssdk/nuget/v3/index.json" />
1517
<add key="vs-impl" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vs-impl/nuget/v3/index.json" />

eng/Version.Details.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
</Dependency>
99
</ProductDependencies>
1010
<ToolsetDependencies>
11-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="8.0.0-beta.22470.3">
11+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="8.0.0-beta.22471.2">
1212
<Uri>https://github.com/dotnet/arcade</Uri>
13-
<Sha>025103bcaefad81506465eeb7bb09b107b20f32d</Sha>
13+
<Sha>d179a8bfc4f295329bbbed456d088a0dfbc61a56</Sha>
1414
<SourceBuild RepoName="arcade" ManagedOnly="true" />
1515
</Dependency>
16-
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="8.0.0-beta.22470.3">
16+
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="8.0.0-beta.22471.2">
1717
<Uri>https://github.com/dotnet/arcade</Uri>
18-
<Sha>025103bcaefad81506465eeb7bb09b107b20f32d</Sha>
18+
<Sha>d179a8bfc4f295329bbbed456d088a0dfbc61a56</Sha>
1919
</Dependency>
2020
</ToolsetDependencies>
2121
</Dependencies>

eng/Versions.props

+17-16
Original file line numberDiff line numberDiff line change
@@ -88,21 +88,21 @@
8888
<!-- If a System.* package is stuck on version 4.3.x, targets .NET Standard 1.x and hasn't been
8989
updated in years, you most likely DON'T need it, please exercise caution when adding it to the list. -->
9090
<SystemBuffersVersion>4.5.1</SystemBuffersVersion>
91-
<SystemCollectionsImmutableVersion>5.0.0</SystemCollectionsImmutableVersion>
91+
<SystemCollectionsImmutableVersion>6.0.0</SystemCollectionsImmutableVersion>
9292
<MicrosoftDiaSymReaderPortablePdbVersion>1.6.0</MicrosoftDiaSymReaderPortablePdbVersion>
9393
<SystemMemoryVersion>4.5.5</SystemMemoryVersion>
9494
<SystemReflectionEmitVersion>4.7.0</SystemReflectionEmitVersion>
95-
<SystemReflectionMetadataVersion>5.0.0</SystemReflectionMetadataVersion>
95+
<SystemReflectionMetadataVersion>6.0.0</SystemReflectionMetadataVersion>
9696
<SystemThreadingTasksDataflow>4.11.1</SystemThreadingTasksDataflow>
9797
<SystemRuntimeCompilerServicesUnsafeVersion>6.0.0</SystemRuntimeCompilerServicesUnsafeVersion>
9898
<SystemValueTupleVersion>4.5.0</SystemValueTupleVersion>
9999
<!-- Versions for package groups -->
100-
<RoslynVersion>4.4.0-1.22368.2</RoslynVersion>
101-
<VisualStudioEditorPackagesVersion>17.3.133-preview</VisualStudioEditorPackagesVersion>
102-
<MicrosoftVisualStudioShellPackagesVersion>17.3.0-preview-1-32407-044</MicrosoftVisualStudioShellPackagesVersion>
103-
<VisualStudioProjectSystemPackagesVersion>17.0.77-pre-g62a6cb5699</VisualStudioProjectSystemPackagesVersion>
104-
<MicrosoftVisualStudioThreadingPackagesVersion>17.3.1-alpha</MicrosoftVisualStudioThreadingPackagesVersion>
105-
<MicrosoftBuildOverallPackagesVersion>17.1.0</MicrosoftBuildOverallPackagesVersion>
100+
<RoslynVersion>4.4.0-3.22470.1</RoslynVersion>
101+
<VisualStudioEditorPackagesVersion>17.4.196-preview</VisualStudioEditorPackagesVersion>
102+
<MicrosoftVisualStudioShellPackagesVersion>17.4.0-preview-3-32916-145</MicrosoftVisualStudioShellPackagesVersion>
103+
<VisualStudioProjectSystemPackagesVersion>17.4.342-pre</VisualStudioProjectSystemPackagesVersion>
104+
<MicrosoftVisualStudioThreadingPackagesVersion>17.4.23-alpha</MicrosoftVisualStudioThreadingPackagesVersion>
105+
<MicrosoftBuildOverallPackagesVersion>17.4.0-preview-22469-04</MicrosoftBuildOverallPackagesVersion>
106106
<!-- Roslyn packages -->
107107
<MicrosoftCodeAnalysisEditorFeaturesVersion>$(RoslynVersion)</MicrosoftCodeAnalysisEditorFeaturesVersion>
108108
<MicrosoftCodeAnalysisEditorFeaturesTextVersion>$(RoslynVersion)</MicrosoftCodeAnalysisEditorFeaturesTextVersion>
@@ -116,7 +116,7 @@
116116
<!-- Visual Studio Shell packages -->
117117
<MicrosoftVisualStudioInteropVersion>$(MicrosoftVisualStudioShellPackagesVersion)</MicrosoftVisualStudioInteropVersion>
118118
<MicrosoftInternalVisualStudioInteropVersion>$(MicrosoftVisualStudioShellPackagesVersion)</MicrosoftInternalVisualStudioInteropVersion>
119-
<MicrosoftVisualStudioImagingInterop140DesignTimeVersion>$(MicrosoftVisualStudioShellPackagesVersion)</MicrosoftVisualStudioImagingInterop140DesignTimeVersion>
119+
<MicrosoftVisualStudioImagingInterop140DesignTimeVersion>17.4.0-preview-3-32916-053</MicrosoftVisualStudioImagingInterop140DesignTimeVersion>
120120
<MicrosoftVisualStudioShellInterop80Version>$(MicrosoftVisualStudioShellPackagesVersion)</MicrosoftVisualStudioShellInterop80Version>
121121
<MicrosoftVisualStudioShellInterop90Version>$(MicrosoftVisualStudioShellPackagesVersion)</MicrosoftVisualStudioShellInterop90Version>
122122
<MicrosoftVisualStudioShellInterop100Version>$(MicrosoftVisualStudioShellPackagesVersion)</MicrosoftVisualStudioShellInterop100Version>
@@ -133,8 +133,8 @@
133133
<MicrosoftVisualStudioShellDesignVersion>$(MicrosoftVisualStudioShellPackagesVersion)</MicrosoftVisualStudioShellDesignVersion>
134134
<MicrosoftVisualStudioShellFrameworkVersion>$(MicrosoftVisualStudioShellPackagesVersion)</MicrosoftVisualStudioShellFrameworkVersion>
135135
<MicrosoftVisualStudioPackageLanguageService150Version>$(MicrosoftVisualStudioShellPackagesVersion)</MicrosoftVisualStudioPackageLanguageService150Version>
136-
<MicrosoftVisualStudioManagedInterfacesVersion>$(MicrosoftVisualStudioShellPackagesVersion)</MicrosoftVisualStudioManagedInterfacesVersion>
137-
<MicrosoftVisualStudioProjectAggregatorVersion>$(MicrosoftVisualStudioShellPackagesVersion)</MicrosoftVisualStudioProjectAggregatorVersion>
136+
<MicrosoftVisualStudioManagedInterfacesVersion>17.4.0-preview-3-32916-053</MicrosoftVisualStudioManagedInterfacesVersion>
137+
<MicrosoftVisualStudioProjectAggregatorVersion>17.4.0-preview-3-32916-053</MicrosoftVisualStudioProjectAggregatorVersion>
138138
<MicrosoftVisualStudioGraphModelVersion>$(MicrosoftVisualStudioShellPackagesVersion)</MicrosoftVisualStudioGraphModelVersion>
139139
<MicrosoftVisualStudioImagingVersion>$(MicrosoftVisualStudioShellPackagesVersion)</MicrosoftVisualStudioImagingVersion>
140140
<MicrosoftVisualStudioDesignerInterfacesVersion>$(MicrosoftVisualStudioShellPackagesVersion)</MicrosoftVisualStudioDesignerInterfacesVersion>
@@ -171,9 +171,9 @@
171171
<MicrosoftVisualStudioProjectSystemManagedVersion>2.3.6152103</MicrosoftVisualStudioProjectSystemManagedVersion>
172172
<!-- Misc. Visual Studio packages -->
173173
<MicrosoftVSSDKBuildToolsVersion>17.1.4054</MicrosoftVSSDKBuildToolsVersion>
174-
<MicrosoftVisualStudioRpcContractsVersion>17.3.3-alpha</MicrosoftVisualStudioRpcContractsVersion>
174+
<MicrosoftVisualStudioRpcContractsVersion>17.4.7-alpha</MicrosoftVisualStudioRpcContractsVersion>
175175
<MicrosoftVisualFSharpMicrosoftVisualStudioShellUIInternalVersion>17.0.0</MicrosoftVisualFSharpMicrosoftVisualStudioShellUIInternalVersion>
176-
<MicrosoftVisualStudioValidationVersion>17.0.53</MicrosoftVisualStudioValidationVersion>
176+
<MicrosoftVisualStudioValidationVersion>17.0.64</MicrosoftVisualStudioValidationVersion>
177177
<MicrosoftVisualStudioWCFReferenceInteropVersion>9.0.30729</MicrosoftVisualStudioWCFReferenceInteropVersion>
178178
<SystemRuntimeCompilerServicesUnsafeVersion>6.0.0</SystemRuntimeCompilerServicesUnsafeVersion>
179179
<VSSDKDebuggerVisualizersVersion>12.0.4</VSSDKDebuggerVisualizersVersion>
@@ -189,7 +189,8 @@
189189
<BenchmarkDotNetVersion>0.13.2</BenchmarkDotNetVersion>
190190
<FsCheckVersion>2.16.5</FsCheckVersion>
191191
<FSharpDataTypeProvidersVersion>4.3.0.0</FSharpDataTypeProvidersVersion>
192-
<MicrosoftCompositionVersion>1.0.30</MicrosoftCompositionVersion>
192+
<MicrosoftCompositionVersion>1.0.31</MicrosoftCompositionVersion>
193+
<SystemComponentModelCompositionVersion>6.0.0</SystemComponentModelCompositionVersion>
193194
<MicrosoftMSXMLVersion>8.0.0</MicrosoftMSXMLVersion>
194195
<MicrosoftNetCompilersVersion>4.3.0-1.22220.8</MicrosoftNetCompilersVersion>
195196
<MicrosoftNETCoreAppRefVersion>3.1.0</MicrosoftNETCoreAppRefVersion>
@@ -203,8 +204,8 @@
203204
<NUnitLiteVersion>3.11.0</NUnitLiteVersion>
204205
<NunitXmlTestLoggerVersion>2.1.80</NunitXmlTestLoggerVersion>
205206
<RoslynToolsSignToolVersion>1.0.0-beta2-dev3</RoslynToolsSignToolVersion>
206-
<StreamJsonRpcVersion>2.12.7-alpha</StreamJsonRpcVersion>
207-
<NerdbankStreamsVersion>2.8.57</NerdbankStreamsVersion>
207+
<StreamJsonRpcVersion>2.13.23-alpha</StreamJsonRpcVersion>
208+
<NerdbankStreamsVersion>2.9.87-alpha</NerdbankStreamsVersion>
208209
<XUnitVersion>2.4.1</XUnitVersion>
209210
<XUnitRunnerVersion>2.4.2</XUnitRunnerVersion>
210211
<FluentAssertionsVersion>5.10.3</FluentAssertionsVersion>

eng/common/build.ps1

+5
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Param(
2626
[string] $runtimeSourceFeed = '',
2727
[string] $runtimeSourceFeedKey = '',
2828
[switch] $excludePrereleaseVS,
29+
[switch] $nativeToolsOnMachine,
2930
[switch] $help,
3031
[Parameter(ValueFromRemainingArguments=$true)][String[]]$properties
3132
)
@@ -67,6 +68,7 @@ function Print-Usage() {
6768
Write-Host " -warnAsError <value> Sets warnaserror msbuild parameter ('true' or 'false')"
6869
Write-Host " -msbuildEngine <value> Msbuild engine to use to run build ('dotnet', 'vs', or unspecified)."
6970
Write-Host " -excludePrereleaseVS Set to exclude build engines in prerelease versions of Visual Studio"
71+
Write-Host " -nativeToolsOnMachine Sets the native tools on machine environment variable (indicating that the script should use native tools on machine)"
7072
Write-Host ""
7173

7274
Write-Host "Command line arguments not listed above are passed thru to msbuild."
@@ -146,6 +148,9 @@ try {
146148
$nodeReuse = $false
147149
}
148150

151+
if ($nativeToolsOnMachine) {
152+
$env:NativeToolsOnMachine = $true
153+
}
149154
if ($restore) {
150155
InitializeNativeTools
151156
}

global.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"perl": "5.32.1.1"
1919
},
2020
"msbuild-sdks": {
21-
"Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.22470.3",
22-
"Microsoft.DotNet.Helix.Sdk": "8.0.0-beta.22470.3"
21+
"Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.22471.2",
22+
"Microsoft.DotNet.Helix.Sdk": "8.0.0-beta.22471.2"
2323
}
2424
}

src/Compiler/AbstractIL/ilwrite.fs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1154,7 +1154,7 @@ let canGenMethodDef (tdef: ILTypeDef) cenv (mdef: ILMethodDef) =
11541154
| ILMemberAccess.Public -> true
11551155
// When emitting a reference assembly, do not emit methods that are private/protected/internal unless they are virtual/abstract or provide an explicit interface implementation.
11561156
| ILMemberAccess.Private | ILMemberAccess.Family | ILMemberAccess.Assembly | ILMemberAccess.FamilyOrAssembly
1157-
when mdef.IsVirtual || mdef.IsAbstract || mdef.IsNewSlot || mdef.IsFinal -> true
1157+
when mdef.IsVirtual || mdef.IsAbstract || mdef.IsNewSlot || mdef.IsFinal || mdef.IsEntryPoint -> true
11581158
// When emitting a reference assembly, only generate internal methods if the assembly contains a System.Runtime.CompilerServices.InternalsVisibleToAttribute.
11591159
| ILMemberAccess.FamilyOrAssembly | ILMemberAccess.Assembly
11601160
when cenv.hasInternalsVisibleToAttrib -> true

src/Compiler/Checking/PostInferenceChecks.fs

+1-12
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,6 @@ type env =
8585
/// "module remap info", i.e. hiding information down the signature chain, used to compute what's hidden by a signature
8686
sigToImplRemapInfo: (Remap * SignatureHidingInfo) list
8787

88-
/// Constructor limited - are we in the prelude of a constructor, prior to object initialization
89-
ctorLimitedZone: bool
90-
9188
/// Are we in a quotation?
9289
quote : bool
9390

@@ -1143,7 +1140,7 @@ and CheckExpr (cenv: cenv) (env: env) origExpr (ctxt: PermitByRefExpr) : Limit =
11431140

11441141
| Expr.Sequential (e1, e2, ThenDoSeq, _) ->
11451142
CheckExprNoByrefs cenv env e1
1146-
CheckExprNoByrefs cenv {env with ctorLimitedZone=false} e2
1143+
CheckExprNoByrefs cenv env e2
11471144
NoLimit
11481145

11491146
| Expr.Const (_, m, ty) ->
@@ -1425,9 +1422,6 @@ and CheckNoResumableStmtConstructs cenv _env expr =
14251422
and CheckExprOp cenv env (op, tyargs, args, m) ctxt expr =
14261423
let g = cenv.g
14271424

1428-
let ctorLimitedZoneCheck() =
1429-
if env.ctorLimitedZone then errorR(Error(FSComp.SR.chkObjCtorsCantUseExceptionHandling(), m))
1430-
14311425
// Ensure anonymous record type requirements are recorded
14321426
match op with
14331427
| TOp.AnonRecdGet (anonInfo, _)
@@ -1444,7 +1438,6 @@ and CheckExprOp cenv env (op, tyargs, args, m) ctxt expr =
14441438

14451439
| TOp.TryFinally _, [_], [Expr.Lambda (_, _, _, [_], e1, _, _); Expr.Lambda (_, _, _, [_], e2, _, _)] ->
14461440
CheckTypeInstNoInnerByrefs cenv env m tyargs // result of a try/finally can be a byref
1447-
ctorLimitedZoneCheck()
14481441
let limit = CheckExpr cenv env e1 ctxt // result of a try/finally can be a byref if in a position where the overall expression is can be a byref
14491442
CheckExprNoByrefs cenv env e2
14501443
limit
@@ -1455,7 +1448,6 @@ and CheckExprOp cenv env (op, tyargs, args, m) ctxt expr =
14551448

14561449
| TOp.TryWith _, [_], [Expr.Lambda (_, _, _, [_], e1, _, _); Expr.Lambda (_, _, _, [_], _e2, _, _); Expr.Lambda (_, _, _, [_], e3, _, _)] ->
14571450
CheckTypeInstNoInnerByrefs cenv env m tyargs // result of a try/catch can be a byref
1458-
ctorLimitedZoneCheck()
14591451
let limit1 = CheckExpr cenv env e1 ctxt // result of a try/catch can be a byref if in a position where the overall expression is can be a byref
14601452
// [(* e2; -- don't check filter body - duplicates logic in 'catch' body *) e3]
14611453
let limit2 = CheckExpr cenv env e3 ctxt // result of a try/catch can be a byref if in a position where the overall expression is can be a byref
@@ -2010,8 +2002,6 @@ and CheckBinding cenv env alwaysCheckNoReraise ctxt (TBind(v, bindRhs, _) as bin
20102002
let access = AdjustAccess (IsHiddenVal env.sigToImplRemapInfo v) (fun () -> v.DeclaringEntity.CompilationPath) v.Accessibility
20112003
CheckTypeForAccess cenv env (fun () -> NicePrint.stringOfQualifiedValOrMember cenv.denv cenv.infoReader vref) access v.Range v.Type
20122004

2013-
let env = if v.IsConstructor && not v.IsIncrClassConstructor then { env with ctorLimitedZone=true } else env
2014-
20152005
if cenv.reportErrors then
20162006

20172007
// Check top-level let-bound values
@@ -2643,7 +2633,6 @@ let CheckImplFile (g, amap, reportErrors, infoReader, internalsVisibleToPaths, v
26432633
let env =
26442634
{ sigToImplRemapInfo=[]
26452635
quote=false
2646-
ctorLimitedZone=false
26472636
boundTyparNames=[]
26482637
argVals = ValMap.Empty
26492638
boundTypars= TyparMap.Empty

src/Compiler/FSComp.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ chkVariableUsedInInvalidWay,"The variable '%s' is used in an invalid way"
252252
417,chkNoFirstClassRethrow,"First-class uses of the 'reraise' function is not permitted"
253253
418,chkNoByrefAtThisPoint,"The byref typed value '%s' cannot be used at this point"
254254
419,chkLimitationsOfBaseKeyword,"'base' values may only be used to make direct calls to the base implementations of overridden members"
255-
420,chkObjCtorsCantUseExceptionHandling,"Object constructors cannot directly use try/with and try/finally prior to the initialization of the object. This includes constructs such as 'for x in ...' that may elaborate to uses of these constructs. This is a limitation imposed by Common IL."
255+
#420,chkObjCtorsCantUseExceptionHandling,"Object constructors cannot directly use try/with and try/finally prior to the initialization of the object. This includes constructs such as 'for x in ...' that may elaborate to uses of these constructs. This is a limitation imposed by Common IL."
256256
421,chkNoAddressOfAtThisPoint,"The address of the variable '%s' cannot be used at this point"
257257
422,chkNoAddressStaticFieldAtThisPoint,"The address of the static field '%s' cannot be used at this point"
258258
423,chkNoAddressFieldAtThisPoint,"The address of the field '%s' cannot be used at this point"

0 commit comments

Comments
 (0)