55 references to Conversion
Microsoft.CodeAnalysis.VisualBasic (55)
Binding\MemberSemanticModel.vb (3)
107Public Overrides Function ClassifyConversion(expression As ExpressionSyntax, destination As ITypeSymbol) As Conversion 775Dim currentConversion As Conversion = Nothing 776Dim elementConversion As Conversion = Nothing
Compilation\ForEachStatementInfo.vb (4)
46Public ReadOnly Property ElementConversion As Conversion 54Public ReadOnly Property CurrentConversion As Conversion 68elementConversion As Conversion, 69currentConversion As Conversion)
Compilation\SemanticModel.vb (6)
357Dim conversion As Conversion = Nothing 366Public Function GetConversion(node As SyntaxNode, Optional cancellationToken As CancellationToken = Nothing) As Conversion 383Public Function GetSpeculativeConversion(position As Integer, expression As ExpressionSyntax, bindingOption As SpeculativeBindingOption) As Conversion 918ByRef conversion As Conversion) As TypeSymbol 2335Public MustOverride Shadows Function ClassifyConversion(expression As ExpressionSyntax, destination As ITypeSymbol) As Conversion 2350Public Shadows Function ClassifyConversion(position As Integer, expression As ExpressionSyntax, destination As ITypeSymbol) As Conversion
Compilation\SpeculativeSemanticModelWithMemberModel.vb (1)
129Public Overrides Function ClassifyConversion(expression As ExpressionSyntax, destination As ITypeSymbol) As Conversion
Compilation\SyntaxTreeSemanticModel.vb (1)
1388Public Overrides Function ClassifyConversion(expression As ExpressionSyntax, destination As ITypeSymbol) As Conversion
Compilation\TypeInfo.vb (3)
16Private ReadOnly _implicitConversion As Conversion 45Public ReadOnly Property ImplicitConversion As Conversion 55Friend Sub New(type As TypeSymbol, convertedType As TypeSymbol, implicitConversion As Conversion)
Compilation\VisualBasicCompilation.vb (2)
1875Public Shadows Function ClassifyConversion(source As ITypeSymbol, destination As ITypeSymbol) As Conversion 1917Dim result As Conversion = ClassifyConversion(sourceType, destination)
Semantics\Conversions.vb (12)
19Implements IEquatable(Of Conversion), IConvertibleConversion 216''' Returns True if two <see cref="Conversion"/> values are equal. 220Public Shared Operator =(left As Conversion, right As Conversion) As Boolean 225''' Returns True if two <see cref="Conversion"/> values are not equal. 229Public Shared Operator <>(left As Conversion, right As Conversion) As Boolean 238''' This is a lossy conversion; it is not possible to recover the original <see cref="Conversion"/> 252Return TypeOf obj Is Conversion AndAlso 253Me = DirectCast(obj, Conversion) 262Public Overloads Function Equals(other As Conversion) As Boolean Implements IEquatable(Of Conversion).Equals
VisualBasicExtensions.vb (23)
772Public Function ClassifyConversion(compilation As Compilation, source As ITypeSymbol, destination As ITypeSymbol) As Conversion 807Public Function ClassifyConversion(semanticModel As SemanticModel, expression As ExpressionSyntax, destination As ITypeSymbol) As Conversion 825Public Function ClassifyConversion(semanticModel As SemanticModel, position As Integer, expression As ExpressionSyntax, destination As ITypeSymbol) As Conversion 1371Public Function GetConversion(semanticModel As SemanticModel, expression As SyntaxNode, Optional cancellationToken As CancellationToken = Nothing) As Conversion 1381''' Gets the underlying <see cref="Conversion"/> information from an <see cref="IConversionOperation"/> that was created from Visual Basic code. 1384''' <returns>The underlying <see cref="Conversion"/>.</returns> 1387Public Function GetConversion(conversionExpression As IConversionOperation) As Conversion 1389Return DirectCast(DirectCast(conversionExpression, ConversionOperation).ConversionConvertible, Conversion) 1398''' Gets the underlying <see cref="Conversion"/> information for InConversion of <see cref="IArgumentOperation"/> that was created from Visual Basic code. 1401''' <returns>The underlying <see cref="Conversion"/> of the InConversion.</returns> 1404Public Function GetInConversion(argument As IArgumentOperation) As Conversion 1407Return If(inConversionConvertible IsNot Nothing, DirectCast(inConversionConvertible, Conversion), New Conversion(Conversions.Identity)) 1416''' Gets the underlying <see cref="Conversion"/> information for OutConversion of <see cref="IArgumentOperation"/> that was created from Visual Basic code. 1419''' <returns>The underlying <see cref="Conversion"/> of the OutConversion.</returns> 1422Public Function GetOutConversion(argument As IArgumentOperation) As Conversion 1425Return If(outConversionConvertible IsNot Nothing, DirectCast(outConversionConvertible, Conversion), New Conversion(Conversions.Identity)) 1434''' Gets the underlying <see cref="Conversion"/> information from this <see cref="ICompoundAssignmentOperation"/>. This 1441Public Function GetInConversion(compoundAssignment As ICompoundAssignmentOperation) As Conversion 1447Return DirectCast(DirectCast(compoundAssignment, CompoundAssignmentOperation).InConversionConvertible, Conversion) 1456''' Gets the underlying <see cref="Conversion"/> information from this <see cref="ICompoundAssignmentOperation"/>. This 1463Public Function GetOutConversion(compoundAssignment As ICompoundAssignmentOperation) As Conversion 1469Return DirectCast(DirectCast(compoundAssignment, CompoundAssignmentOperation).OutConversionConvertible, Conversion) 1478Public Function GetSpeculativeConversion(semanticModel As SemanticModel, position As Integer, expression As ExpressionSyntax, bindingOption As SpeculativeBindingOption) As Conversion