10 references to IsFromCompilation
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Operators.cs (1)
292
if (!eventSymbol.OriginalDefinition.
IsFromCompilation
(this.Compilation))
FlowAnalysis\DefiniteAssignment.cs (1)
2640
if (!type.
IsFromCompilation
(this.compilation))
Symbols\BaseTypeAnalysis.cs (1)
56
if (currentCompilation != null && type.
IsFromCompilation
(currentCompilation))
Symbols\ConstraintsHelper.cs (3)
139
Debug.Assert(currentCompilation == null || typeParameter.
IsFromCompilation
(currentCompilation));
196
if (!inherited && currentCompilation != null && constraintTypeParameter.
IsFromCompilation
(currentCompilation))
740
if (!(args.CurrentCompilation != null && type.
IsFromCompilation
(args.CurrentCompilation)) && HasDuplicateInterfaces(type, null))
Symbols\MergedNamespaceSymbol.cs (1)
115
if (n.
IsFromCompilation
(compilation))
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
328
Location 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