Share via


VisualBasicCompilation.ContainsSymbolsWithName Method

Definition

Overloads

ContainsSymbolsWithName(String, SymbolFilter, CancellationToken)

Return true if there is a source declaration symbol name that matches the provided name. This may be faster than ContainsSymbolsWithName(Func<String,Boolean>, SymbolFilter, CancellationToken) when predicate is just a simple string check. name is case insensitive.

ContainsSymbolsWithName(Func<String,Boolean>, SymbolFilter, CancellationToken)

Return true if there is a source declaration symbol name that meets given predicate.

ContainsSymbolsWithName(String, SymbolFilter, CancellationToken)

Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb

Return true if there is a source declaration symbol name that matches the provided name. This may be faster than ContainsSymbolsWithName(Func<String,Boolean>, SymbolFilter, CancellationToken) when predicate is just a simple string check. name is case insensitive.

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

Returns

Applies to

ContainsSymbolsWithName(Func<String,Boolean>, SymbolFilter, CancellationToken)

Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb
Source:
VisualBasicCompilation.vb

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

predicate
Func<String,Boolean>
filter
SymbolFilter
cancellationToken
CancellationToken

Returns

Applies to