27 references to RetargetPrimitiveTypesByTypeCode
Microsoft.CodeAnalysis.CSharp (27)
Symbols\Retargeting\RetargetingEventSymbol.cs (1)
53
return this.RetargetingTranslator.Retarget(_underlyingEvent.TypeWithAnnotations, RetargetOptions.
RetargetPrimitiveTypesByTypeCode
);
Symbols\Retargeting\RetargetingFieldSymbol.cs (1)
62
return this.RetargetingTranslator.Retarget(_underlyingField.GetFieldType(fieldsBeingBound), RetargetOptions.
RetargetPrimitiveTypesByTypeCode
);
Symbols\Retargeting\RetargetingMethodSymbol.cs (2)
136
new TypeWithAnnotations.Boxed(this.RetargetingTranslator.Retarget(_underlyingMethod.ReturnTypeWithAnnotations, RetargetOptions.
RetargetPrimitiveTypesByTypeCode
, this.ContainingType)),
384
builderArgument = this.RetargetingTranslator.Retarget(builderArgument, RetargetOptions.
RetargetPrimitiveTypesByTypeCode
);
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (3)
106
return (object)underlying == null ? null : this.RetargetingTranslator.Retarget(underlying, RetargetOptions.
RetargetPrimitiveTypesByTypeCode
); // comes from field's signature.
423
builderType = this.RetargetingTranslator.Retarget(builderType, RetargetOptions.
RetargetPrimitiveTypesByTypeCode
);
432
builderArgument = this.RetargetingTranslator.Retarget(builderArgument, RetargetOptions.
RetargetPrimitiveTypesByTypeCode
);
Symbols\Retargeting\RetargetingParameterSymbol.cs (1)
47
new TypeWithAnnotations.Boxed(this.RetargetingModule.RetargetingTranslator.Retarget(_underlyingParameter.TypeWithAnnotations, RetargetOptions.
RetargetPrimitiveTypesByTypeCode
)),
Symbols\Retargeting\RetargetingPropertySymbol.cs (1)
69
var type = this.RetargetingTranslator.Retarget(_underlyingProperty.TypeWithAnnotations, RetargetOptions.
RetargetPrimitiveTypesByTypeCode
);
Symbols\Retargeting\RetargetingSymbolTranslator.cs (16)
77
this.RetargetingTranslator.Retarget(tupleErrorField.TypeWithAnnotations, RetargetOptions.
RetargetPrimitiveTypesByTypeCode
),
172
(type, translator) => translator.Retarget(type, RetargetOptions.
RetargetPrimitiveTypesByTypeCode
), this);
217
if (options == RetargetOptions.
RetargetPrimitiveTypesByTypeCode
)
538
var newArg = Retarget(arg, RetargetOptions.
RetargetPrimitiveTypesByTypeCode
); // generic instantiation is a signature
698
TypeWithAnnotations newElement = Retarget(oldElement, RetargetOptions.
RetargetPrimitiveTypesByTypeCode
);
749
TypeWithAnnotations newPointed = Retarget(oldPointed, RetargetOptions.
RetargetPrimitiveTypesByTypeCode
);
762
var newReturn = Retarget(signature.ReturnTypeWithAnnotations, RetargetOptions.
RetargetPrimitiveTypesByTypeCode
);
778
var newParameterType = Retarget(parameter.TypeWithAnnotations, RetargetOptions.
RetargetPrimitiveTypesByTypeCode
);
1004
translator.Retarget(param.TypeWithAnnotations, RetargetOptions.
RetargetPrimitiveTypesByTypeCode
),
1025
translator.Retarget(method.ReturnTypeWithAnnotations, RetargetOptions.
RetargetPrimitiveTypesByTypeCode
),
1078
self.Retarget(param.TypeWithAnnotations, RetargetOptions.
RetargetPrimitiveTypesByTypeCode
),
1090
Retarget(property.TypeWithAnnotations, RetargetOptions.
RetargetPrimitiveTypesByTypeCode
),
1112
var targetType = Retarget(@event.TypeWithAnnotations, RetargetOptions.
RetargetPrimitiveTypesByTypeCode
);
1171
newAttributeType = Retarget(oldAttributeType, RetargetOptions.
RetargetPrimitiveTypesByTypeCode
);
1226
Retarget(oldConstantType, RetargetOptions.
RetargetPrimitiveTypesByTypeCode
);
1246
newConstantValue = Retarget((TypeSymbol)oldConstantValue, RetargetOptions.
RetargetPrimitiveTypesByTypeCode
);
Symbols\Retargeting\RetargetingTypeParameterSymbol.cs (2)
104
return this.RetargetingTranslator.Retarget(_underlyingTypeParameter.GetEffectiveBaseClass(inProgress), RetargetOptions.
RetargetPrimitiveTypesByTypeCode
);
109
return this.RetargetingTranslator.Retarget(_underlyingTypeParameter.GetDeducedBaseType(inProgress), RetargetOptions.
RetargetPrimitiveTypesByTypeCode
);