FSharp.Compiler.ComponentTests.fsproj 14.2 KB
Newer Older
1 2 3
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) Microsoft Corporation.  All Rights Reserved.  See License.txt in the project root for license information. -->
<Project Sdk="Microsoft.NET.Sdk">
K
Kevin Ransom (msft) 已提交
4

5
  <PropertyGroup>
K
Kevin Ransom (msft) 已提交
6 7
    <TargetFrameworks>net472;net6.0</TargetFrameworks>
    <TargetFrameworks Condition="'$(OS)' == 'Unix'">net6.0</TargetFrameworks>
8
    <OutputType>Library</OutputType>
K
Kevin Ransom (msft) 已提交
9
    <GenerateProgramFile>false</GenerateProgramFile>
10
    <DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
K
Kevin Ransom (msft) 已提交
11 12 13
    <UnitTestType>xunit</UnitTestType>
    <IsTestProject>true</IsTestProject>
    <ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
14 15
    <Optimize>false</Optimize>
    <Tailcalls>false</Tailcalls>
16
    <OtherFlags>$(OtherFlags) --warnon:1182</OtherFlags>
D
Don Syme 已提交
17
    <NoWarn>$(NoWarn);FS0988</NoWarn> <!-- "program does nothing" warning -->
18 19 20
  </PropertyGroup>

  <ItemGroup>
21 22 23 24 25 26
    <None Include="**\*.cs;**\*.fs;**\*.fsx;**\*.fsi;" Exclude="@(Compile)">
      <Link>%(RelativeDir)\TestSource\%(Filename)%(Extension)</Link>
    </None>
    <None Include="**\*.cs;**\*.fs;**\*.fsx;**\*.fsi" Exclude="@(Compile)">
      <Link>%(RelativeDir)\TestSource\%(Filename)%(Extension)</Link>
    </None>
K
Kevin Ransom (msft) 已提交
27 28
    <Compile Include="Conformance\BasicGrammarElements\OperatorNames\OperatorNames.fs" />
    <Compile Include="Conformance\BasicGrammarElements\PrecedenceAndOperators\PrecedenceAndOperators.fs" />
29 30 31
    <Compile Include="Conformance\BasicTypeAndModuleDefinitions\ExceptionDefinitions\ExceptionDefinitions.fs" />
    <Compile Include="Conformance\BasicTypeAndModuleDefinitions\GeneratedEqualityHashingComparison\Attributes\Diags\Diags.fs" />
    <Compile Include="Conformance\BasicTypeAndModuleDefinitions\GeneratedEqualityHashingComparison\Attributes\Legacy\Legacy.fs" />
32 33
    <Compile Include="Conformance\BasicTypeAndModuleDefinitions\GeneratedEqualityHashingComparison\Basic\Basic.fs" />
    <Compile Include="Conformance\BasicTypeAndModuleDefinitions\GeneratedEqualityHashingComparison\IComparison\IComparison.fs" />
K
Kevin Ransom (msft) 已提交
34 35 36 37
    <Compile Include="Conformance\BasicTypeAndModuleDefinitions\ModuleDefinitions\ModuleDefinitions.fs" />
    <Compile Include="Conformance\BasicTypeAndModuleDefinitions\NamespaceDeclGroups\NamespaceDeclGroups.fs" />
    <Compile Include="Conformance\BasicTypeAndModuleDefinitions\NullRepresentations\NullRepresentations.fs" />
    <Compile Include="Conformance\BasicTypeAndModuleDefinitions\TypeAbbreviations\TypeAbbreviations.fs" />
38 39 40
    <Compile Include="Conformance\ClassTypes\ExplicitObjectConstructors\ExplicitObjectConstructors.fs" />
    <Compile Include="Conformance\ClassTypes\ImplicitObjectConstructors\ImplicitObjectConstructors.fs" />
    <Compile Include="Conformance\ClassTypes\ValueRestriction\ValueRestriction.fs" />
K
Kevin Ransom (msft) 已提交
41 42 43 44
    <Compile Include="Conformance\DeclarationElements\AccessibilityAnnotations\Basic\Basic.fs" />
    <Compile Include="Conformance\DeclarationElements\AccessibilityAnnotations\OnOverridesAndIFaceImpl\OnOverridesAndIFaceImpl.fs" />
    <Compile Include="Conformance\DeclarationElements\AccessibilityAnnotations\OnTypeMembers\OnTypeMembers.fs" />
    <Compile Include="Conformance\DeclarationElements\AccessibilityAnnotations\PermittedLocations\PermittedLocations.fs" />
K
Kevin Ransom (msft) 已提交
45 46 47 48 49
    <Compile Include="Conformance\DeclarationElements\CustomAttributes\AttributeInheritance\AttributeInheritance.fs" />
    <Compile Include="Conformance\DeclarationElements\CustomAttributes\AttributeUsage\AttributeUsage.fs" />
    <Compile Include="Conformance\DeclarationElements\CustomAttributes\Basic\Basic.fs" />
    <Compile Include="Conformance\DeclarationElements\CustomAttributes\ImportedAttributes\ImportedAttributes.fs" />
    <Compile Include="Conformance\DeclarationElements\CustomAttributes\ArgumentsOfAllTypes\ArgumentsOfAllTypes.fs" />
K
Kevin Ransom (msft) 已提交
50 51 52 53 54
    <Compile Include="Conformance\DeclarationElements\Events\Basic\Basic.fs" />
    <Compile Include="Conformance\DeclarationElements\FieldMembers\FieldMembers.fs" />
    <Compile Include="Conformance\DeclarationElements\ImportDeclarations\ImportDeclarations.fs" />
    <Compile Include="Conformance\DeclarationElements\InterfaceSpecificationsAndImplementations\InterfaceSpecificationsAndImplementations.fs" />
    <Compile Include="Conformance\DeclarationElements\LetBindings\Basic\Basic.fs" />
55
    <Compile Include="Conformance\DeclarationElements\LetBindings\TypeFunctions\TypeFunctions.fs" />
K
Kevin Ransom (msft) 已提交
56 57 58 59 60 61 62 63 64
    <Compile Include="Conformance\DeclarationElements\LetBindings\ActivePatternBindings\ActivePatternBindings.fs" />
    <Compile Include="Conformance\DeclarationElements\LetBindings\ExplicitTypeParameters\ExplicitTypeParameters.fs" />
    <Compile Include="Conformance\DeclarationElements\MemberDefinitions\MemberDefinitions.fs" />
    <Compile Include="Conformance\DeclarationElements\MemberDefinitions\ImplementingDispatchSlots\ImplementingDispatchSlots.fs" />
    <Compile Include="Conformance\DeclarationElements\MemberDefinitions\MethodsAndProperties\MethodsAndProperties.fs" />
    <Compile Include="Conformance\DeclarationElements\MemberDefinitions\NamedArguments\NamedArguments.fs" />
    <Compile Include="Conformance\DeclarationElements\MemberDefinitions\OptionalArguments\OptionalArguments.fs" />
    <Compile Include="Conformance\DeclarationElements\MemberDefinitions\OptionalDefaultParamArgs\OptionalDefaultParamArgs.fs" />
    <Compile Include="Conformance\DeclarationElements\MemberDefinitions\OverloadingMembers\OverloadingMembers.fs" />
K
Kevin Ransom (msft) 已提交
65
    <Compile Include="Conformance\DeclarationElements\ModuleAbbreviations\ModuleAbbreviations.fs" />
66 67
    <Compile Include="Conformance\DeclarationElements\UseBindings\UseBindings.fs" />
    <Compile Include="Conformance\Expressions\ApplicationExpressions\BasicApplication\BasicApplication.fs" />
68
    <Compile Include="Conformance\Expressions\BindingExpressions\BindingExpressions.fs" />
69 70 71
    <Compile Include="Conformance\Expressions\ControlFlowExpressions\PatternMatching\PatternMatching.fs" />
    <Compile Include="Conformance\Expressions\ControlFlowExpressions\SequenceIteration\SequenceIteration.fs" />
    <Compile Include="Conformance\Expressions\ControlFlowExpressions\Type-relatedExpressions\Type-relatedExpressions.fs" />
K
Kevin Ransom (msft) 已提交
72
    <Compile Include="Conformance\InferenceProcedures\ByrefSafetyAnalysis\ByrefSafetyAnalysis.fs" />
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
    <Compile Include="Conformance\InferenceProcedures\RecursiveSafetyAnalysis\RecursiveSafetyAnalysis.fs" />
    <Compile Include="Conformance\LexicalAnalysis\Comments.fs" />
    <Compile Include="Conformance\LexicalAnalysis\NumericLiterals.fs" />
    <Compile Include="Conformance\LexicalAnalysis\Shift\Generics.fs" />
    <Compile Include="Conformance\LexicalAnalysis\SymbolicKeywords.fs" />
    <Compile Include="Conformance\LexicalAnalysis\SymbolicOperators.fs" />
    <Compile Include="Conformance\LexicalFiltering\HashLight\HashLight.fs" />
    <Compile Include="Conformance\LexicalFiltering\HighPrecedenceApplication\HighPrecedenceApplication.fs" />
    <Compile Include="Conformance\LexicalFiltering\OffsideExceptions\OffsideExceptions.fs" />
    <Compile Include="Conformance\MethodResolution\ParametersResolution.fs" />
    <Compile Include="Conformance\PatternMatching\Simple.fs" />
    <Compile Include="Conformance\Printing\Printing.fs" />
    <Compile Include="Conformance\PseudoCustomAttributes\PseudoCustomAttributes.fs" />
    <Compile Include="Conformance\RecordTypes\RecordTypes.fs" />
    <Compile Include="Conformance\StructTypes\StructTypes.fs" />
    <Compile Include="Conformance\TypesAndTypeConstraints\CheckingSyntacticTypes\CheckingSyntacticTypes.fs" />
    <Compile Include="Conformance\TypesAndTypeConstraints\LogicalPropertiesOfTypes\LogicalPropertiesOfTypes.fs" />
    <Compile Include="Conformance\UnionTypes\UnionTypes.fs" />
    <Compile Include="Conformance\UnitsOfMeasure\Basic.fs" />
    <Compile Include="Conformance\UnitsOfMeasure\Diagnostics.fs" />
    <Compile Include="Conformance\UnitsOfMeasure\Parsing.fs" />
    <Compile Include="Conformance\UnitsOfMeasure\TypeChecker.fs" />
95
    <Compile Include="EmittedIL\Literals.fs" />
96
    <Compile Include="EmittedIL\EmptyArray.fs" />
K
kerams 已提交
97
    <Compile Include="EmittedIL\SkipLocalsInit.fs" />
98
    <Compile Include="EmittedIL\StringFormatAndInterpolation.fs" />
99
    <Compile Include="EmittedIL\TailCalls.fs" />
100
    <Compile Include="EmittedIL\TupleElimination.fs" />
D
Don Syme 已提交
101
    <Compile Include="EmittedIL\TypeTestsInPatternMatching.fs" />
102
    <Compile Include="EmittedIL\WhileLoops.fs" />
103
    <Compile Include="EmittedIL\AssemblyBoundary\AssemblyBoundary.fs" />
104 105 106 107 108 109
    <Compile Include="EmittedIL\AsyncExpressionStepping\AsyncExpressionStepping.fs" />
    <Compile Include="EmittedIL\AttributeTargets\AttributeTargets.fs" />
    <Compile Include="EmittedIL\CCtorDUWithMember\CCtorDUWithMember.fs" />
    <Compile Include="EmittedIL\CompiledNameAttribute\CompiledNameAttribute.fs" />
    <Compile Include="EmittedIL\ComputationExpressions\ComputationExpressions.fs" />
    <Compile Include="EmittedIL\DoNotBoxStruct\DoNotBoxStruct.fs" />
110
    <Compile Include="EmittedIL\ForLoop\ForLoop.fs" />
111
    <Compile Include="EmittedIL\GeneratedIterators\GeneratedIterators.fs" />
112
    <Compile Include="EmittedIL\GenericComparison\GenericComparison.fs" />
113
    <Compile Include="EmittedIL\InequalityComparison\InequalityComparison.fs" />
114
    <Compile Include="EmittedIL\Inlining\Inlining.fs" />
115 116
    <Compile Include="EmittedIL\ListExpressionStepping\ListExpressionStepping.fs" />
    <Compile Include="EmittedIL\MethodImplAttribute\MethodImplAttribute.fs" />
117
    <Compile Include="EmittedIL\Misc\Misc.fs" />
118
    <Compile Include="EmittedIL\operators\Operators.fs" />
119
    <Compile Include="EmittedIL\QueryExpressionStepping\QueryExpressionStepping.fs" />
K
Kevin Ransom (msft) 已提交
120
    <Compile Include="EmittedIL\SerializableAttribute\SerializableAttribute.fs" />
121 122
    <Compile Include="EmittedIL\SeqExpressionStepping\SeqExpressionStepping.fs" />
    <Compile Include="EmittedIL\SeqExpressionTailCalls\SeqExpressionTailCalls.fs" />
K
Kevin Ransom (msft) 已提交
123 124 125 126
    <Compile Include="EmittedIL\SeqExpressionStepping\SeqExpressionStepping.fs" />
    <Compile Include="EmittedIL\SeqExpressionTailCalls\SeqExpressionTailCalls.fs" />
    <Compile Include="EmittedIL\StaticInit\StaticInit.fs" />
    <Compile Include="EmittedIL\SteppingMatch\SteppingMatch.fs" />
127
    <Compile Include="EmittedIL\Structure\Structure.fs" />
128
    <Compile Include="EmittedIL\TestFunctions\TestFunctions.fs" />
K
Kevin Ransom (msft) 已提交
129
    <Compile Include="EmittedIL\Tuples\Tuples.fs" />
130
    <Compile Include="ErrorMessages\UnsupportedAttributes.fs" />
131
    <Compile Include="ErrorMessages\TypeEqualsMissingTests.fs" />
132 133 134 135 136 137
    <Compile Include="ErrorMessages\AccessOfTypeAbbreviationTests.fs" />
    <Compile Include="ErrorMessages\AssignmentErrorTests.fs" />
    <Compile Include="ErrorMessages\ClassesTests.fs" />
    <Compile Include="ErrorMessages\ConstructorTests.fs" />
    <Compile Include="ErrorMessages\DontSuggestTests.fs" />
    <Compile Include="ErrorMessages\ElseBranchHasWrongTypeTests.fs" />
138 139
    <Compile Include="ErrorMessages\InvalidLiteralTests.fs" />
    <Compile Include="ErrorMessages\InvalidNumericLiteralTests.fs" />    
140 141
    <Compile Include="ErrorMessages\MissingElseBranch.fs" />
    <Compile Include="ErrorMessages\MissingExpressionTests.fs" />
142
    <Compile Include="ErrorMessages\ModuleTests.fs" />
143 144 145 146 147 148 149 150
    <Compile Include="ErrorMessages\NameResolutionTests.fs" />
    <Compile Include="ErrorMessages\SuggestionsTests.fs" />
    <Compile Include="ErrorMessages\TypeMismatchTests.fs" />
    <Compile Include="ErrorMessages\UnitGenericAbstactType.fs" />
    <Compile Include="ErrorMessages\UpcastDowncastTests.fs" />
    <Compile Include="ErrorMessages\WarnExpressionTests.fs" />
    <Compile Include="ErrorMessages\WrongSyntaxInForLoop.fs" />
    <Compile Include="ErrorMessages\ConfusingTypeName.fs" />
151 152 153
    <Compile Include="ErrorMessages\FS0988AtEndOfFile.fs" />
    <Compile Include="ErrorMessages\Repro1548.fs" />
    <Compile Include="ErrorMessages\WarnIfDiscardedInList.fs" />
154
    <Compile Include="Language\IndexerSetterParamArray.fs" />
155
    <Compile Include="Language\RegressionTests.fs" />
156
    <Compile Include="Language\AttributeCheckingTests.fs" />
157
    <Compile Include="Language\XmlComments.fs" />
158
    <Compile Include="Language\CompilerDirectiveTests.fs" />
159
    <Compile Include="Language\CodeQuotationTests.fs" />
160
    <Compile Include="Language\ComputationExpressionTests.fs" />
161
    <Compile Include="Language\CastingTests.fs" />
162 163
    <Compile Include="ConstraintSolver\PrimitiveConstraints.fs" />
    <Compile Include="ConstraintSolver\MemberConstraints.fs" />
164
    <Compile Include="Interop\SimpleInteropTests.fs" />
165
    <Compile Include="Interop\VisibilityTests.fs" />
166
    <Compile Include="Scripting\Interactive.fs" />
167
    <Compile Include="TypeChecks\CheckDeclarationsTests.fs" />
168
    <Compile Include="CompilerOptions\fsc\langversion.fs" />
169 170 171 172 173
    <Compile Include="CompilerOptions\fsc\noframework.fs" />
    <Compile Include="CompilerOptions\fsc\platform.fs" />
    <Compile Include="CompilerOptions\fsc\times.fs" />
    <Compile Include="CompilerOptions\fsc\warn.fs" />
    <Compile Include="CompilerOptions\fsc\warnon.fs" />
174
    <Compile Include="Debugger\PortablePdbs.fs" />
175 176
    <Compile Include="Diagnostics\async.fs" />
    <Compile Include="Diagnostics\General.fs" />
177
    <Compile Include="Globalization\GlobalizationTestCases.fs" />
178
    <Compile Include="OCamlCompat\OCamlCompat.fs" />
179
    <Compile Include="Miscellaneous\ListLiterals.fs" />
180
  </ItemGroup>
K
Kevin Ransom (msft) 已提交
181
  <ItemGroup>
K
Kevin Ransom (msft) 已提交
182 183 184
    <Content Include="resources\**" CopyToOutputDirectory="Never" CopyToPublishDirectory="PreserveNewest" />
    <EmbeddedResource Remove="Properties\**" />
    <Content Include="xunit.runner.json" CopyToOutputDirectory="PreserveNewest" />
185
    <None Include="**\*.bsl">
K
Kevin Ransom (msft) 已提交
186 187
      <Link>%(RelativeDir)\BaseLine\%(Filename)%(Extension)</Link>
    </None>
K
Kevin Ransom (msft) 已提交
188
  </ItemGroup>
189 190
  <ItemGroup>
    <None Remove="Conformance\BasicTypeAndModuleDefinitions\ExceptionDefinitions\Override01.fsx" />
K
Kevin Ransom (msft) 已提交
191 192
    <None Remove="Conformance\UnionTypes\E_DuplicateUnionCase01.fsx" />
    <None Remove="Conformance\UnionTypes\E_DuplicateUnionCase01.fsx" />
193
  </ItemGroup>
194
  <ItemGroup>
195
    <ProjectReference Include="$(FSharpSourcesRoot)\fsharp\FSharp.Compiler.Service\FSharp.Compiler.Service.fsproj" />
D
Don Syme 已提交
196
    <ProjectReference Include="$(FSharpSourcesRoot)\fsharp\FSharp.Compiler.Interactive.Settings\FSharp.Compiler.Interactive.Settings.fsproj" />
197 198 199
    <ProjectReference Include="$(FSharpSourcesRoot)\fsharp\FSharp.Core\FSharp.Core.fsproj" />
    <ProjectReference Include="$(FSharpTestsRoot)\FSharp.Test.Utilities\FSharp.Test.Utilities.fsproj" />
  </ItemGroup>
K
Kevin Ransom (msft) 已提交
200

201
</Project>