13 references to IsFromCompilation
Microsoft.CodeAnalysis.VisualBasic (8)
Binding\Binder_Conversions.vb (2)
1370
If(targetDelegateType.TypeKind = TypeKind.Delegate AndAlso targetDelegateType.
IsFromCompilation
(Me.Compilation),
1422
If(targetDelegateType.TypeKind = TypeKind.Delegate AndAlso targetDelegateType.
IsFromCompilation
(Me.Compilation),
Binding\BinderBuilder.vb (1)
237
Debug.Assert(containingSymbol.
IsFromCompilation
(moduleSymbol.DeclaringCompilation))
Compilation\ClsComplianceChecker.vb (1)
731
If symbol.
IsFromCompilation
(Me._compilation) OrElse symbol.Kind <> SymbolKind.NamedType Then
Compilation\MethodCompiler.vb (2)
754
If member.IsShared OrElse Not member.
IsFromCompilation
(_compilation) OrElse member.Kind <> SymbolKind.Method Then
1770
Debug.Assert(method.
IsFromCompilation
(compilationState.Compilation))
Lowering\LocalRewriter\LocalRewriter_Label.vb (1)
45
If node.Label.
IsFromCompilation
(_compilationState.Compilation) AndAlso Instrument(node, statement) Then
Symbols\MergedNamespaceSymbol.vb (1)
192
If constituent.
IsFromCompilation
(compilation) Then
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (4)
DeclaringSyntaxNodeTests.vb (4)
27
Assert.True(Not symbol.
IsFromCompilation
(compilation) OrElse symbol.IsImplicitlyDeclared, "non-implicitly declares source symbol should have declaring location")
29
Assert.True(symbol.
IsFromCompilation
(compilation) OrElse TypeOf symbol Is MergedNamespaceSymbol, "symbol with declaration should be in source, except for merged namespaces")
76
Assert.True(Not symbol.
IsFromCompilation
(compilation) OrElse symbol.IsImplicitlyDeclared, "non-implicitly declares source symbol should have declaring location")
78
Assert.True(symbol.
IsFromCompilation
(compilation) OrElse TypeOf symbol Is MergedNamespaceSymbol, "symbol with declaration should be in source, except for merged namespaces")
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
SymbolsTests\Source\PropertyTests.vb (1)
1361
Assert.True(p.
IsFromCompilation
(compilation))