Skip to content

Commit 0c37365

Browse files
committed
Merge pull request #401 from dsyme/vf-align-2
Remove more files unnecessary for FCS
2 parents 59893f8 + df4a672 commit 0c37365

File tree

134 files changed

+0
-52247
lines changed

Some content is hidden

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

134 files changed

+0
-52247
lines changed

src/FSharpSource.Settings.targets

Lines changed: 0 additions & 39 deletions
This file was deleted.

src/fsharp/CompileOps.fs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ open Microsoft.FSharp.Compiler.MSBuildResolver
4040
open Microsoft.FSharp.Compiler.TypeRelations
4141
open Microsoft.FSharp.Compiler.NameResolution
4242
open Microsoft.FSharp.Compiler.PrettyNaming
43-
open Internal.Utilities.FileSystem
4443
open Internal.Utilities.Collections
4544
open Internal.Utilities.Filename
4645
open Microsoft.FSharp.Compiler.Import

src/fsharp/CompileOptions.fs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,9 @@ open Microsoft.FSharp.Compiler.IlxGen
3535
module Attributes =
3636
open System.Runtime.CompilerServices
3737

38-
#if SILVERLIGHT
39-
#else
4038
//[<assembly: System.Security.SecurityTransparent>]
4139
[<Dependency("FSharp.Core",LoadHint.Always)>]
4240
do()
43-
#endif
4441

4542
//----------------------------------------------------------------------------
4643
// Compiler option parser
@@ -753,10 +750,7 @@ let internalFlags (tcConfigB:TcConfigBuilder) =
753750
[
754751
CompilerOption("use-incremental-build", tagNone, OptionUnit (fun () -> tcConfigB.useIncrementalBuilder <- true), None, None)
755752
CompilerOption("stamps", tagNone, OptionUnit (fun () -> ()), Some(InternalCommandLineOption("--stamps", rangeCmdArgs)), None);
756-
#if SILVERLIGHT
757-
#else
758753
CompilerOption("ranges", tagNone, OptionSet Tastops.DebugPrint.layoutRanges, Some(InternalCommandLineOption("--ranges", rangeCmdArgs)), None);
759-
#endif
760754
CompilerOption("terms" , tagNone, OptionUnit (fun () -> tcConfigB.showTerms <- true), Some(InternalCommandLineOption("--terms", rangeCmdArgs)), None);
761755
CompilerOption("termsfile" , tagNone, OptionUnit (fun () -> tcConfigB.writeTermsToFiles <- true), Some(InternalCommandLineOption("--termsfile", rangeCmdArgs)), None);
762756
CompilerOption("use-incremental-build", tagNone, OptionUnit (fun () -> tcConfigB.useIncrementalBuilder <- true), None, None)
@@ -878,10 +872,7 @@ let DisplayBannerText tcConfigB =
878872
let displayHelpFsc tcConfigB (blocks:CompilerOptionBlock list) =
879873
DisplayBannerText tcConfigB;
880874
PrintCompilerOptionBlocks blocks
881-
#if SILVERLIGHT
882-
#else
883875
exit 0
884-
#endif
885876

886877
let miscFlagsBoth tcConfigB =
887878
[ CompilerOption("nologo", tagNone, OptionUnit (fun () -> tcConfigB.showBanner <- false), None, Some (FSComp.SR.optsNologo()));
@@ -1080,18 +1071,13 @@ let ReportTime (tcConfig:TcConfig) descr =
10801071
| Some("fsc-ma") -> raise(System.MemberAccessException())
10811072
| Some("fsc-ni") -> raise(System.NotImplementedException())
10821073
| Some("fsc-nr") -> raise(System.NullReferenceException())
1083-
#if SILVERLIGHT
1084-
#else
10851074
| Some("fsc-oc") -> raise(System.OperationCanceledException())
1086-
#endif
10871075
| Some("fsc-fail") -> failwith "simulated"
10881076
| _ -> ()
10891077

10901078

10911079

10921080

1093-
#if SILVERLIGHT
1094-
#else
10951081
if (tcConfig.showTimes || verbose) then
10961082
// Note that timing calls are relatively expensive on the startup path so we don't
10971083
// make this call unless showTimes has been turned on.
@@ -1113,7 +1099,6 @@ let ReportTime (tcConfig:TcConfig) descr =
11131099

11141100
| _ -> ()
11151101
tPrev := Some (timeNow,gcNow)
1116-
#endif
11171102

11181103
nPrev := Some descr
11191104

src/fsharp/ExtensionTyping.fs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ module internal ExtensionTyping =
1717
open Microsoft.FSharp.Compiler.AbstractIL.IL
1818
open Microsoft.FSharp.Compiler.AbstractIL.Diagnostics // dprintfn
1919
open Microsoft.FSharp.Compiler.AbstractIL.Internal.Library // frontAndBack
20-
open Internal.Utilities.FileSystem
2120

2221
#if TYPE_PROVIDER_SECURITY
2322
module internal GlobalsTheLanguageServiceCanPoke =

0 commit comments

Comments
 (0)