5 references to IsDefinedInSourceTree
Microsoft.CodeAnalysis (5)
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (5)
1108if (symbol.IsDefinedInSourceTree(tree, definedWithinSpan: null, cancellationToken))
1114if (methodSymbol.PartialDefinitionPart?.IsDefinedInSourceTree(tree, definedWithinSpan: null, cancellationToken) == true
1115|| methodSymbol.PartialImplementationPart?.IsDefinedInSourceTree(tree, definedWithinSpan: null, cancellationToken) == true)
1122if (propertySymbol.PartialDefinitionPart?.IsDefinedInSourceTree(tree, definedWithinSpan: null, cancellationToken) == true
1123|| propertySymbol.PartialImplementationPart?.IsDefinedInSourceTree(tree, definedWithinSpan: null, cancellationToken) == true)