次の方法で共有


Compilation.GetSymbolsWithName メソッド

定義

オーバーロード

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

指定された述語を満たす名前のソース宣言シンボルを返します。

GetSymbolsWithName(String, SymbolFilter, CancellationToken)

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

GetSymbolsWithName(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

指定された述語を満たす名前のソース宣言シンボルを返します。

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

パラメーター

predicate
Func<String,Boolean>
filter
SymbolFilter
cancellationToken
CancellationToken

戻り値

適用対象

GetSymbolsWithName(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

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

public abstract System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.ISymbol> GetSymbolsWithName (string name, Microsoft.CodeAnalysis.SymbolFilter filter = Microsoft.CodeAnalysis.SymbolFilter.TypeAndMember, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSymbolsWithName : string * Microsoft.CodeAnalysis.SymbolFilter * System.Threading.CancellationToken -> seq<Microsoft.CodeAnalysis.ISymbol>
Public MustOverride Function GetSymbolsWithName (name As String, Optional filter As SymbolFilter = Microsoft.CodeAnalysis.SymbolFilter.TypeAndMember, Optional cancellationToken As CancellationToken = Nothing) As IEnumerable(Of ISymbol)

パラメーター

name
String
filter
SymbolFilter
cancellationToken
CancellationToken

戻り値

適用対象