10 references to IsFromCompilation
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Operators.cs (1)
292if (!eventSymbol.OriginalDefinition.IsFromCompilation(this.Compilation))
FlowAnalysis\DefiniteAssignment.cs (1)
2595if (!type.IsFromCompilation(this.compilation))
Symbols\BaseTypeAnalysis.cs (1)
55if (currentCompilation != null && type.IsFromCompilation(currentCompilation))
Symbols\ConstraintsHelper.cs (3)
139Debug.Assert(currentCompilation == null || typeParameter.IsFromCompilation(currentCompilation)); 196if (!inherited && currentCompilation != null && constraintTypeParameter.IsFromCompilation(currentCompilation)) 740if (!(args.CurrentCompilation != null && type.IsFromCompilation(args.CurrentCompilation)) && HasDuplicateInterfaces(type, null))
Symbols\MergedNamespaceSymbol.cs (1)
115if (n.IsFromCompilation(compilation))
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
328Location location = implementingMember.IsFromCompilation(this.DeclaringCompilation)
Symbols\Symbol.cs (2)
913/// Always prefer <see cref="IsFromCompilation"/>. 923/// for <see cref="IsFromCompilation"/> when a compilation is not available and that method will never return