CSharpCompilation.ContainsSymbolsWithName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ContainsSymbolsWithName(Func<String,Boolean>, SymbolFilter, CancellationToken) |
Return true if there is a source declaration symbol name that meets given predicate. |
ContainsSymbolsWithName(String, SymbolFilter, CancellationToken) |
Return true if there is a source declaration symbol name that matches the provided name. This will be faster than ContainsSymbolsWithName(Func<String,Boolean>, SymbolFilter, CancellationToken) when predicate is just a simple string check. |
ContainsSymbolsWithName(Func<String,Boolean>, SymbolFilter, CancellationToken)
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
Return true if there is a source declaration symbol name that meets given predicate.
public override bool ContainsSymbolsWithName (Func<string,bool> predicate, Microsoft.CodeAnalysis.SymbolFilter filter = Microsoft.CodeAnalysis.SymbolFilter.TypeAndMember, System.Threading.CancellationToken cancellationToken = default);
override this.ContainsSymbolsWithName : Func<string, bool> * Microsoft.CodeAnalysis.SymbolFilter * System.Threading.CancellationToken -> bool
Public Overrides Function ContainsSymbolsWithName (predicate As Func(Of String, Boolean), Optional filter As SymbolFilter = Microsoft.CodeAnalysis.SymbolFilter.TypeAndMember, Optional cancellationToken As CancellationToken = Nothing) As Boolean
Parameters
- filter
- SymbolFilter
- cancellationToken
- CancellationToken
Returns
Applies to
ContainsSymbolsWithName(String, SymbolFilter, CancellationToken)
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
- Source:
- CSharpCompilation.cs
Return true if there is a source declaration symbol name that matches the provided name. This will be faster than ContainsSymbolsWithName(Func<String,Boolean>, SymbolFilter, CancellationToken) when predicate is just a simple string check.
public override bool ContainsSymbolsWithName (string name, Microsoft.CodeAnalysis.SymbolFilter filter = Microsoft.CodeAnalysis.SymbolFilter.TypeAndMember, System.Threading.CancellationToken cancellationToken = default);
override this.ContainsSymbolsWithName : string * Microsoft.CodeAnalysis.SymbolFilter * System.Threading.CancellationToken -> bool
Public Overrides Function ContainsSymbolsWithName (name As String, Optional filter As SymbolFilter = Microsoft.CodeAnalysis.SymbolFilter.TypeAndMember, Optional cancellationToken As CancellationToken = Nothing) As Boolean
Parameters
- name
- String
- filter
- SymbolFilter
- cancellationToken
- CancellationToken