28 references to Compilation
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamespaceSymbolKey.cs (1)
48case NamespaceKind.Compilation:
Microsoft.CodeAnalysis.CSharp (6)
Binder\BindingDiagnosticBag.cs (1)
130if (ns.Extent.Kind == NamespaceKind.Compilation)
Compilation\CSharpCompilation.cs (2)
1445namespaceSymbol.NamespaceKind == NamespaceKind.Compilation && 1468if (namespaceSymbol.NamespaceKind == NamespaceKind.Compilation &&
Symbols\NamespaceExtent.cs (2)
78if (_kind == NamespaceKind.Compilation) 115_kind = NamespaceKind.Compilation;
Symbols\NamespaceSymbol.cs (1)
73get { return this.NamespaceKind == NamespaceKind.Compilation ? this.Extent.Compilation : null; }
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenTupleTest.cs (1)
6227Assert.Equal(NamespaceKind.Compilation, ns.NamespaceKind);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (1)
3745Assert.Equal(NamespaceKind.Compilation, declSymbol.NamespaceKind);
Symbols\AssemblyAndNamespaceTests.cs (2)
216Assert.Equal(NamespaceKind.Compilation, ns.Extent.Kind); 264Assert.Equal(NamespaceKind.Compilation, ns.Extent.Kind);
Microsoft.CodeAnalysis.VisualBasic (10)
Binding\BindingDiagnosticBag.vb (1)
139If ns.Extent.Kind = NamespaceKind.Compilation Then
Compilation\VisualBasicCompilation.vb (1)
1474If vbNs IsNot Nothing AndAlso vbNs.Extent.Kind = NamespaceKind.Compilation AndAlso vbNs.Extent.Compilation Is Me Then
SymbolDisplay\SymbolDisplayVisitor_Minimal.vb (3)
47Debug.Assert(lookupResult.Extent.Kind = NamespaceKind.Module OrElse lookupResult.Extent.Kind = NamespaceKind.Compilation) 49If lookupResult IsNot symbol AndAlso lookupResult.Extent.Kind = NamespaceKind.Compilation Then 52If ns IsNot Nothing AndAlso ns.Extent.Kind <> NamespaceKind.Compilation AndAlso
Symbols\MergedNamespaceSymbol.vb (1)
601Debug.Assert(ns.NamespaceKind = NamespaceKind.Module OrElse ns.NamespaceKind = NamespaceKind.Compilation)
Symbols\NamespaceExtent.vb (3)
64If Kind = NamespaceKind.Compilation Then 96_kind = NamespaceKind.Compilation 106Const assert1 As Integer = 1 Mod (NamespaceKind.Compilation - NamespaceKindNamespaceGroup)
Symbols\NamespaceSymbol.vb (1)
85Return If(Me.NamespaceKind = NamespaceKind.Compilation, Me.Extent.Compilation, Nothing)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
CodeGen\CodeGenTuples.vb (1)
8951Assert.Equal(NamespaceKind.Compilation, ns.NamespaceKind)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (3)
Binding\LookupTests.vb (1)
1672Assert.Equal(NamespaceKind.Compilation, ns.NamespaceKind)
Compilation\CompilationAPITests.vb (1)
2555NamespaceKind.Compilation,
Compilation\SemanticModelGetDeclaredSymbolAPITests.vb (1)
2617Assert.Equal(NamespaceKind.Compilation, nsSymbolA.NamespaceKind)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (2)
SymbolsTests\AssemblyAndNamespaceTests.vb (2)
442Assert.Equal(NamespaceKind.Compilation, ext.Kind) 493Assert.Equal(NamespaceKind.Compilation, ns.Extent.Kind)
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamespaceSymbolKey.cs (1)
48case NamespaceKind.Compilation: