38 references to GlobalImport
Microsoft.CodeAnalysis.VisualBasic (38)
CommandLine\VisualBasicCommandLineParser.vb (3)
134
Dim globalImports = New List(Of
GlobalImport
)
1776
Private Shared Sub ParseGlobalImports(value As String, globalImports As List(Of
GlobalImport
), errors As List(Of Diagnostic))
1781
Dim import =
GlobalImport
.Parse(importNamespace, importDiagnostics)
GlobalImport.vb (13)
17
Implements IEquatable(Of
GlobalImport
)
58
Public Shared Function Parse(importedNames As String) As
GlobalImport
68
Public Shared Function Parse(importedNames As String, <Out()> ByRef diagnostics As ImmutableArray(Of Diagnostic)) As
GlobalImport
77
Public Shared Function Parse(importedNames As IEnumerable(Of String)) As IEnumerable(Of
GlobalImport
)
93
Public Shared Function Parse(ParamArray importedNames As String()) As IEnumerable(Of
GlobalImport
)
103
Public Shared Function Parse(importedNames As IEnumerable(Of String), <Out()> ByRef diagnostics As ImmutableArray(Of Diagnostic)) As IEnumerable(Of
GlobalImport
)
142
Return Me.Equals(TryCast(obj,
GlobalImport
))
150
Public Overloads Function Equals(other As
GlobalImport
) As Boolean Implements IEquatable(Of
GlobalImport
).Equals
175
Public Shared Operator =(left As
GlobalImport
, right As
GlobalImport
) As Boolean
183
Public Shared Operator <>(left As
GlobalImport
, right As
GlobalImport
) As Boolean
OptionsValidator.vb (3)
21
Friend Function ParseImports(importsClauses As IEnumerable(Of String), diagnostics As DiagnosticBag) As
GlobalImport
()
33
Dim parsedImportList As New List(Of
GlobalImport
)
65
Return Array.Empty(Of
GlobalImport
)
Symbols\Source\SourceModuleSymbol.BoundImports.vb (2)
47
Public ReadOnly Import As
GlobalImport
50
Public Sub New(import As
GlobalImport
, syntaxReference As SyntaxReference)
Symbols\Source\SourceModuleSymbol.vb (2)
429
Private ReadOnly _globalImport As
GlobalImport
436
Public Sub New(globalImport As
GlobalImport
,
VisualBasicCompilationOptions.vb (15)
19
Private _globalImports As ImmutableArray(Of
GlobalImport
)
73
Optional globalImports As IEnumerable(Of
GlobalImport
) = Nothing,
150
globalImports As IEnumerable(Of
GlobalImport
),
218
globalImports As IEnumerable(Of
GlobalImport
),
362
Public ReadOnly Property GlobalImports As ImmutableArray(Of
GlobalImport
)
529
''' <param name="globalImports">A collection of Global Imports <see cref="
GlobalImport
"/>.</param>
531
Public Function WithGlobalImports(globalImports As ImmutableArray(Of
GlobalImport
)) As VisualBasicCompilationOptions
542
''' <param name="globalImports">A collection of Global Imports <see cref="
GlobalImport
"/>.</param>
544
Public Function WithGlobalImports(globalImports As IEnumerable(Of
GlobalImport
)) As VisualBasicCompilationOptions
551
''' <param name="globalImports">A collection of Global Imports <see cref="
GlobalImport
"/>.</param>
553
Public Function WithGlobalImports(ParamArray globalImports As
GlobalImport
()) As VisualBasicCompilationOptions
554
Return WithGlobalImports(DirectCast(globalImports, IEnumerable(Of
GlobalImport
)))
1149
globalImports As IEnumerable(Of
GlobalImport
),
1214
globalImports As IEnumerable(Of
GlobalImport
),
1280
Optional globalImports As IEnumerable(Of
GlobalImport
) = Nothing,