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