다음을 통해 공유


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

반환

적용 대상