CSharpExtensions.ClassifyConversion 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
ClassifyConversion(Compilation, ITypeSymbol, ITypeSymbol) | |
ClassifyConversion(SemanticModel, ExpressionSyntax, ITypeSymbol, Boolean) |
지정된 식이 지정된 형식으로 변환된 경우 사용할 변환 형식(있는 경우)을 결정합니다. isExplicitInSource가 true이면 생성된 변환은 캐스트 식에 대해 변환이 수행된 경우 사용되는 변환입니다. |
ClassifyConversion(SemanticModel, Int32, ExpressionSyntax, ITypeSymbol, Boolean) |
지정된 식이 지정된 형식으로 변환된 경우 사용할 변환 형식(있는 경우)을 결정합니다. isExplicitInSource가 true이면 생성된 변환은 캐스트 식에 대해 변환이 수행된 경우 사용되는 변환입니다. |
ClassifyConversion(Compilation, ITypeSymbol, ITypeSymbol)
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::CodeAnalysis::CSharp::Conversion ClassifyConversion(Microsoft::CodeAnalysis::Compilation ^ compilation, Microsoft::CodeAnalysis::ITypeSymbol ^ source, Microsoft::CodeAnalysis::ITypeSymbol ^ destination);
public static Microsoft.CodeAnalysis.CSharp.Conversion ClassifyConversion (this Microsoft.CodeAnalysis.Compilation compilation, Microsoft.CodeAnalysis.ITypeSymbol source, Microsoft.CodeAnalysis.ITypeSymbol destination);
public static Microsoft.CodeAnalysis.CSharp.Conversion ClassifyConversion (this Microsoft.CodeAnalysis.Compilation? compilation, Microsoft.CodeAnalysis.ITypeSymbol source, Microsoft.CodeAnalysis.ITypeSymbol destination);
static member ClassifyConversion : Microsoft.CodeAnalysis.Compilation * Microsoft.CodeAnalysis.ITypeSymbol * Microsoft.CodeAnalysis.ITypeSymbol -> Microsoft.CodeAnalysis.CSharp.Conversion
<Extension()>
Public Function ClassifyConversion (compilation As Compilation, source As ITypeSymbol, destination As ITypeSymbol) As Conversion
매개 변수
- compilation
- Compilation
- source
- ITypeSymbol
- destination
- ITypeSymbol
반환
적용 대상
ClassifyConversion(SemanticModel, ExpressionSyntax, ITypeSymbol, Boolean)
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
지정된 식이 지정된 형식으로 변환된 경우 사용할 변환 형식(있는 경우)을 결정합니다. isExplicitInSource가 true이면 생성된 변환은 캐스트 식에 대해 변환이 수행된 경우 사용되는 변환입니다.
public static Microsoft.CodeAnalysis.CSharp.Conversion ClassifyConversion (this Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.ITypeSymbol destination, bool isExplicitInSource = false);
public static Microsoft.CodeAnalysis.CSharp.Conversion ClassifyConversion (this Microsoft.CodeAnalysis.SemanticModel? semanticModel, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.ITypeSymbol destination, bool isExplicitInSource = false);
static member ClassifyConversion : Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.ITypeSymbol * bool -> Microsoft.CodeAnalysis.CSharp.Conversion
<Extension()>
Public Function ClassifyConversion (semanticModel As SemanticModel, expression As ExpressionSyntax, destination As ITypeSymbol, Optional isExplicitInSource As Boolean = false) As Conversion
매개 변수
- semanticModel
- SemanticModel
- expression
- ExpressionSyntax
- destination
- ITypeSymbol
- isExplicitInSource
- Boolean
반환
적용 대상
ClassifyConversion(SemanticModel, Int32, ExpressionSyntax, ITypeSymbol, Boolean)
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
- Source:
- CSharpExtensions.cs
지정된 식이 지정된 형식으로 변환된 경우 사용할 변환 형식(있는 경우)을 결정합니다. isExplicitInSource가 true이면 생성된 변환은 캐스트 식에 대해 변환이 수행된 경우 사용되는 변환입니다.
public static Microsoft.CodeAnalysis.CSharp.Conversion ClassifyConversion (this Microsoft.CodeAnalysis.SemanticModel semanticModel, int position, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.ITypeSymbol destination, bool isExplicitInSource = false);
public static Microsoft.CodeAnalysis.CSharp.Conversion ClassifyConversion (this Microsoft.CodeAnalysis.SemanticModel? semanticModel, int position, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.ITypeSymbol destination, bool isExplicitInSource = false);
static member ClassifyConversion : Microsoft.CodeAnalysis.SemanticModel * int * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.ITypeSymbol * bool -> Microsoft.CodeAnalysis.CSharp.Conversion
<Extension()>
Public Function ClassifyConversion (semanticModel As SemanticModel, position As Integer, expression As ExpressionSyntax, destination As ITypeSymbol, Optional isExplicitInSource As Boolean = false) As Conversion
매개 변수
- semanticModel
- SemanticModel
- position
- Int32
- expression
- ExpressionSyntax
- destination
- ITypeSymbol
- isExplicitInSource
- Boolean
반환
적용 대상
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET