次の方法で共有


Compilation.ContainsSymbolsWithName メソッド

定義

オーバーロード

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

指定された述語を満たすソース宣言シンボル名がある場合は true を返します。

ContainsSymbolsWithName(String, SymbolFilter, CancellationToken)

指定された名前と一致するソース宣言シンボル名がある場合は true を返します。 これは、述語が単純な文字列チェックである場合よりも ContainsSymbolsWithName(Func<String,Boolean>, SymbolFilter, CancellationToken) 高速な場合があります。 name は大文字と小文字が区別されるか、ターゲット言語に応じて異なります。

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

Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs

指定された述語を満たすソース宣言シンボル名がある場合は true を返します。

public abstract bool ContainsSymbolsWithName (Func<string,bool> predicate, Microsoft.CodeAnalysis.SymbolFilter filter = Microsoft.CodeAnalysis.SymbolFilter.TypeAndMember, System.Threading.CancellationToken cancellationToken = default);
abstract member ContainsSymbolsWithName : Func<string, bool> * Microsoft.CodeAnalysis.SymbolFilter * System.Threading.CancellationToken -> bool
Public MustOverride Function ContainsSymbolsWithName (predicate As Func(Of String, Boolean), Optional filter As SymbolFilter = Microsoft.CodeAnalysis.SymbolFilter.TypeAndMember, Optional cancellationToken As CancellationToken = Nothing) As Boolean

パラメーター

predicate
Func<String,Boolean>
filter
SymbolFilter
cancellationToken
CancellationToken

戻り値

適用対象

ContainsSymbolsWithName(String, SymbolFilter, CancellationToken)

Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs

指定された名前と一致するソース宣言シンボル名がある場合は true を返します。 これは、述語が単純な文字列チェックである場合よりも ContainsSymbolsWithName(Func<String,Boolean>, SymbolFilter, CancellationToken) 高速な場合があります。 name は大文字と小文字が区別されるか、ターゲット言語に応じて異なります。

public abstract bool ContainsSymbolsWithName (string name, Microsoft.CodeAnalysis.SymbolFilter filter = Microsoft.CodeAnalysis.SymbolFilter.TypeAndMember, System.Threading.CancellationToken cancellationToken = default);
abstract member ContainsSymbolsWithName : string * Microsoft.CodeAnalysis.SymbolFilter * System.Threading.CancellationToken -> bool
Public MustOverride Function ContainsSymbolsWithName (name As String, Optional filter As SymbolFilter = Microsoft.CodeAnalysis.SymbolFilter.TypeAndMember, Optional cancellationToken As CancellationToken = Nothing) As Boolean

パラメーター

name
String
filter
SymbolFilter
cancellationToken
CancellationToken

戻り値

適用対象