다음을 통해 공유


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

반환

적용 대상