8 references to ApplyNullableTransforms
Microsoft.CodeAnalysis.CSharp (6)
Symbols\ArrayTypeSymbol.cs (1)
395
if (!oldElementType.
ApplyNullableTransforms
(defaultTransformFlag, transforms, ref position, out newElementType))
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (2)
602
bool madeChanges = ReturnTypeWithAnnotations.
ApplyNullableTransforms
(defaultTransformFlag, transforms, ref position, out var newReturnType);
610
madeParamChanges |= param.TypeWithAnnotations.
ApplyNullableTransforms
(defaultTransformFlag, transforms, ref position, out var newParamType);
Symbols\Metadata\PE\NullableTypeDecoder.cs (1)
65
if (metadataType.
ApplyNullableTransforms
(defaultTransformFlag, nullableTransformFlags, ref position, out result) &&
Symbols\NamedTypeSymbol.cs (1)
949
if (!oldTypeArgument.
ApplyNullableTransforms
(defaultTransformFlag, transforms, ref position, out newTypeArgument))
Symbols\PointerTypeSymbol.cs (1)
258
if (!oldPointedAtType.
ApplyNullableTransforms
(defaultTransformFlag, transforms, ref position, out newPointedAtType))
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Attributes\AttributeTests_Nullable.cs (2)
4214
Assert.True(underlyingType.
ApplyNullableTransforms
(0, actualBytes, ref position, out updated));
4222
underlyingType.
ApplyNullableTransforms
(0, ImmutableArray.Create(expectedPreviously), ref position, out _);