48 references to RetargetOptions
Microsoft.CodeAnalysis.VisualBasic (48)
Symbols\Retargeting\RetargetingAssemblySymbol.vb (2)
271
Return Me.RetargetingTranslator.Retarget(underlying,
RetargetOptions
.RetargetPrimitiveTypesByName)
276
Yield Me.RetargetingTranslator.Retarget(underlying,
RetargetOptions
.RetargetPrimitiveTypesByName)
Symbols\Retargeting\RetargetingEventSymbol.vb (1)
186
Return RetargetingTranslator.Retarget(_underlyingEvent.Type,
RetargetOptions
.RetargetPrimitiveTypesByTypeCode)
Symbols\Retargeting\RetargetingFieldSymbol.vb (1)
84
Return RetargetingTranslator.Retarget(_underlyingField.Type,
RetargetOptions
.RetargetPrimitiveTypesByTypeCode)
Symbols\Retargeting\RetargetingMethodSymbol.vb (1)
164
Return RetargetingTranslator.Retarget(_underlyingMethod.ReturnType,
RetargetOptions
.RetargetPrimitiveTypesByTypeCode)
Symbols\Retargeting\RetargetingNamedTypeSymbol.vb (5)
111
Return If(underlying Is Nothing, Nothing, RetargetingTranslator.Retarget(underlying,
RetargetOptions
.RetargetPrimitiveTypesByTypeCode)) ' comes from field's signature.
162
coClass = RetargetingTranslator.Retarget(coClass,
RetargetOptions
.RetargetPrimitiveTypesByName)
363
RetargetingTranslator.Retarget(underlyingBase,
RetargetOptions
.RetargetPrimitiveTypesByName),
393
acyclicBase = RetargetingTranslator.Retarget(underlyingBase,
RetargetOptions
.RetargetPrimitiveTypesByName)
501
Return RetargetingTranslator.Retarget(underlying,
RetargetOptions
.RetargetPrimitiveTypesByName)
Symbols\Retargeting\RetargetingNamespaceSymbol.vb (2)
107
builder.Add(RetargetingTranslator.Retarget(t,
RetargetOptions
.RetargetPrimitiveTypesByName))
187
Return RetargetingTranslator.Retarget(underlying,
RetargetOptions
.RetargetPrimitiveTypesByName)
Symbols\Retargeting\RetargetingParameterSymbol.vb (1)
74
Return RetargetingTranslator.Retarget(_underlyingParameter.Type,
RetargetOptions
.RetargetPrimitiveTypesByTypeCode)
Symbols\Retargeting\RetargetingPropertySymbol.vb (1)
244
Return RetargetingTranslator.Retarget(_underlyingProperty.Type,
RetargetOptions
.RetargetPrimitiveTypesByTypeCode)
Symbols\Retargeting\RetargetingSymbolTranslator.vb (34)
80
Inherits VisualBasicSymbolVisitor(Of
RetargetOptions
, Symbol)
130
Return symbol.Accept(Me,
RetargetOptions
.RetargetPrimitiveTypesByName)
140
Function(type, translator) translator.Retarget(DirectCast(type, TypeSymbol),
RetargetOptions
.RetargetPrimitiveTypesByTypeCode), Me)
143
Public Function Retarget(symbol As TypeSymbol, options As
RetargetOptions
) As TypeSymbol
151
Private Function RetargetNamedTypeDefinition(type As NamedTypeSymbol, options As
RetargetOptions
) As NamedTypeSymbol
166
If (options =
RetargetOptions
.RetargetPrimitiveTypesByTypeCode) Then
389
Public Function Retarget(type As NamedTypeSymbol, options As
RetargetOptions
) As NamedTypeSymbol
454
Dim newArg = New TypeWithModifiers(DirectCast(arg.Type.Accept(Me,
RetargetOptions
.RetargetPrimitiveTypesByTypeCode), TypeSymbol),
590
Dim newElement As TypeSymbol = Retarget(oldElement,
RetargetOptions
.RetargetPrimitiveTypesByTypeCode)
610
Dim newModifier As NamedTypeSymbol = Retarget(DirectCast(oldModifiers(i).Modifier, NamedTypeSymbol),
RetargetOptions
.RetargetPrimitiveTypesByName) ' should be retargeted by name
680
newAttributeType = Retarget(oldAttributeType,
RetargetOptions
.RetargetPrimitiveTypesByTypeCode)
727
Retarget(oldConstantType,
RetargetOptions
.RetargetPrimitiveTypesByTypeCode))
742
newConstantValue = Retarget(DirectCast(oldConstantValue, TypeSymbol),
RetargetOptions
.RetargetPrimitiveTypesByTypeCode)
829
Return Retarget(s,
RetargetOptions
.RetargetPrimitiveTypesByName)
849
result.Add(Retarget(nts,
RetargetOptions
.RetargetPrimitiveTypesByName))
861
result.Add(Retarget(ts,
RetargetOptions
.RetargetPrimitiveTypesByName))
889
Dim retargetedType = Retarget(containingType,
RetargetOptions
.RetargetPrimitiveTypesByName)
965
translator.Retarget(param.Type,
RetargetOptions
.RetargetPrimitiveTypesByTypeCode),
981
translator.Retarget(method.ReturnType,
RetargetOptions
.RetargetPrimitiveTypesByTypeCode),
1041
Dim retargetedType = Retarget(containingType,
RetargetOptions
.RetargetPrimitiveTypesByName)
1052
Dim retargetedEventType = Retarget([event].Type,
RetargetOptions
.RetargetPrimitiveTypesByName)
1073
Dim retargetedType = Retarget(containingType,
RetargetOptions
.RetargetPrimitiveTypesByName)
1087
Retarget(param.Type,
RetargetOptions
.RetargetPrimitiveTypesByTypeCode),
1100
Retarget([property].Type,
RetargetOptions
.RetargetPrimitiveTypesByTypeCode),
1116
Public Overrides Function VisitModule(symbol As ModuleSymbol, options As
RetargetOptions
) As Symbol
1122
Public Overrides Function VisitNamespace(symbol As NamespaceSymbol, options As
RetargetOptions
) As Symbol
1126
Public Overrides Function VisitNamedType(symbol As NamedTypeSymbol, options As
RetargetOptions
) As Symbol
1130
Public Overrides Function VisitArrayType(symbol As ArrayTypeSymbol, arg As
RetargetOptions
) As Symbol
1134
Public Overrides Function VisitMethod(symbol As MethodSymbol, options As
RetargetOptions
) As Symbol
1138
Public Overrides Function VisitField(symbol As FieldSymbol, options As
RetargetOptions
) As Symbol
1142
Public Overrides Function VisitProperty(symbol As PropertySymbol, arg As
RetargetOptions
) As Symbol
1146
Public Overrides Function VisitEvent(symbol As EventSymbol, arg As
RetargetOptions
) As Symbol
1150
Public Overrides Function VisitTypeParameter(symbol As TypeParameterSymbol, options As
RetargetOptions
) As Symbol
1154
Public Overrides Function VisitErrorType(symbol As ErrorTypeSymbol, options As
RetargetOptions
) As Symbol