Skip to content

Commit 861d0b0

Browse files
committed
Remove unused opens
1 parent b2f996b commit 861d0b0

Some content is hidden

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

67 files changed

+0
-215
lines changed

fcs/FSharp.Compiler.Service.ProjectCracker/ProjectCracker.fs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,10 @@
22

33
#if !NETSTANDARD
44
open System.Runtime.Serialization.Json
5-
open System.Runtime
6-
open System.Diagnostics
75
#endif
86
open System.Text
97
open System.IO
108
open System
11-
open System.Xml
129

1310
module Utils =
1411

fcs/FSharp.Compiler.Service.ProjectCrackerTool/ProjectCrackerTool.fs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ open Microsoft.Build.Utilities
88

99
module internal ProjectCrackerTool =
1010
open System.Collections.Generic
11-
open Microsoft.Build.Evaluation
1211

1312
let runningOnMono =
1413
#if NETCOREAPP2_0

src/absil/bytes.fs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@
33
/// Byte arrays
44
namespace FSharp.Compiler.AbstractIL.Internal
55

6-
open System.IO
7-
open Internal.Utilities
86

9-
open FSharp.Compiler.AbstractIL
10-
open FSharp.Compiler.AbstractIL.Internal
117

128
module internal Bytes =
139
let b0 n = (n &&& 0xFF)

src/absil/il.fs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ open System.IO
1212
open System.Collections
1313
open System.Collections.Generic
1414
open System.Collections.Concurrent
15-
open System.Runtime.CompilerServices
1615
open System.Reflection
1716
open System.Text
1817
open System.Threading

src/absil/ilbinary.fs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22

33
module internal FSharp.Compiler.AbstractIL.Internal.BinaryConstants
44

5-
open Internal.Utilities
6-
open FSharp.Compiler.AbstractIL
75
open FSharp.Compiler.AbstractIL.IL
8-
open FSharp.Compiler.AbstractIL.Internal
96
open FSharp.Compiler.AbstractIL.Internal.Library
107

118
[<Struct>]

src/absil/ildiag.fs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
55
module internal FSharp.Compiler.AbstractIL.Diagnostics
66

7-
open Internal.Utilities
87

98
let diagnosticsLog = ref (Some stdout)
109

src/absil/ilmorph.fs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@
33
module internal FSharp.Compiler.AbstractIL.Morphs
44

55
open System.Collections.Generic
6-
open Internal.Utilities
76
open FSharp.Compiler.AbstractIL
8-
open FSharp.Compiler.AbstractIL.Internal
97
open FSharp.Compiler.AbstractIL.Internal.Library
10-
open FSharp.Compiler.AbstractIL.Diagnostics
118
open FSharp.Compiler.AbstractIL.IL
129

1310
let mutable morphCustomAttributeData = false

src/absil/ilprint.fs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,12 @@
22

33
module internal FSharp.Compiler.AbstractIL.ILAsciiWriter
44

5-
open Internal.Utilities
6-
open FSharp.Compiler.AbstractIL
75
open FSharp.Compiler.AbstractIL.Internal
86
open FSharp.Compiler.AbstractIL.Internal.Library
9-
open FSharp.Compiler.AbstractIL.Diagnostics
107
open FSharp.Compiler.AbstractIL.Extensions.ILX.Types
118
open FSharp.Compiler.AbstractIL.Internal.AsciiConstants
129
open FSharp.Compiler.AbstractIL.IL
1310

14-
open System.Text
1511
open System.IO
1612
open System.Reflection
1713

src/absil/ilread.fs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ open System.Runtime.InteropServices
1818
open System.Text
1919
open Internal.Utilities
2020
open Internal.Utilities.Collections
21-
open FSharp.Compiler.AbstractIL
2221
open FSharp.Compiler.AbstractIL.Internal
2322
open FSharp.Compiler.AbstractIL.Internal.Support
2423
open FSharp.Compiler.AbstractIL.Diagnostics
@@ -27,7 +26,6 @@ open FSharp.Compiler.AbstractIL.IL
2726
open FSharp.Compiler.AbstractIL.Internal.Library
2827
open FSharp.Compiler.ErrorLogger
2928
open FSharp.Compiler.Range
30-
open Microsoft.FSharp.NativeInterop
3129
open System.Reflection
3230

3331
let checking = false
@@ -4128,7 +4126,6 @@ let OpenILModuleReader fileName opts =
41284126

41294127
[<AutoOpen>]
41304128
module Shim =
4131-
open FSharp.Compiler.Lib
41324129

41334130
type IAssemblyReader =
41344131
abstract GetILModuleReader: filename: string * readerOptions: ILReaderOptions -> ILModuleReader

src/absil/ilreflect.fs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ open FSharp.Compiler.AbstractIL.Internal
1919
open FSharp.Compiler.AbstractIL.Internal.Library
2020
open FSharp.Compiler.AbstractIL.Diagnostics
2121
open FSharp.Compiler.AbstractIL.IL
22-
open FSharp.Compiler.AbstractIL.ILAsciiWriter
2322
open FSharp.Compiler.ErrorLogger
2423
open FSharp.Compiler.Range
2524
open FSharp.Core.Printf

0 commit comments

Comments
 (0)