37 references to PointedAtTypeWithAnnotations
Microsoft.CodeAnalysis.CSharp (37)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (2)
1862
ExactInference(((PointerTypeSymbol)source.Type).
PointedAtTypeWithAnnotations
, ((PointerTypeSymbol)target.Type).
PointedAtTypeWithAnnotations
, ref useSiteInfo);
CodeGen\EmitStackAllocInitializer.cs (1)
28
? ((PointerTypeSymbol)type).
PointedAtTypeWithAnnotations
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (6)
382
var otherModifiers = VisitCustomModifiers(symbol.
PointedAtTypeWithAnnotations
.CustomModifiers);
383
return new PointerTypeSymbol(symbol.
PointedAtTypeWithAnnotations
.WithTypeAndModifiers(otherPointedAtType, otherModifiers));
664
Debug.Assert(type.
PointedAtTypeWithAnnotations
.CustomModifiers.IsEmpty);
665
Debug.Assert(other.
PointedAtTypeWithAnnotations
.CustomModifiers.IsEmpty);
905
var translatedModifiers = VisitCustomModifiers(symbol.
PointedAtTypeWithAnnotations
.CustomModifiers);
906
return new PointerTypeSymbol(symbol.
PointedAtTypeWithAnnotations
.WithTypeAndModifiers(translatedPointedAtType, translatedModifiers));
Emitter\Model\PointerTypeSymbolAdapter.cs (2)
25
if (AdaptedPointerTypeSymbol.
PointedAtTypeWithAnnotations
.CustomModifiers.Length == 0)
31
return new Cci.ModifiedTypeReference(type, ImmutableArray<Cci.ICustomModifier>.CastUp(AdaptedPointerTypeSymbol.
PointedAtTypeWithAnnotations
.CustomModifiers));
FlowAnalysis\NullableWalker.cs (1)
4576
PointerTypeSymbol pointerType => pointerType.
PointedAtTypeWithAnnotations
,
Symbols\AbstractTypeMap.cs (1)
229
var oldPointedAtType = t.
PointedAtTypeWithAnnotations
;
Symbols\Compilation_WellKnownMembers.cs (1)
958
HandleCustomModifiers(((PointerTypeSymbol)type).
PointedAtTypeWithAnnotations
.CustomModifiers.Length, transformFlagsBuilder);
Symbols\Metadata\PE\DynamicTypeDecoder.cs (3)
330
if (!HandleCustomModifiers(pointerType.
PointedAtTypeWithAnnotations
.CustomModifiers.Length))
343
new PointerTypeSymbol(pointerType.
PointedAtTypeWithAnnotations
.WithTypeAndModifiers(transformedPointedAtType, pointerType.
PointedAtTypeWithAnnotations
.CustomModifiers));
Symbols\Metadata\PE\NativeIntegerTypeDecoder.cs (1)
165
if (TransformTypeWithAnnotations(type.
PointedAtTypeWithAnnotations
) is { } pointedAtType)
Symbols\Metadata\PE\TupleTypeDecoder.cs (1)
206
return type.WithPointedAtType(DecodeTypeInternal(type.
PointedAtTypeWithAnnotations
));
Symbols\PointerTypeSymbol.cs (9)
76
public TypeSymbol PointedAtType =>
PointedAtTypeWithAnnotations
.Type;
250
PointedAtTypeWithAnnotations
.AddNullableTransforms(transforms);
255
TypeWithAnnotations oldPointedAtType =
PointedAtTypeWithAnnotations
;
270
return WithPointedAtType(transform(
PointedAtTypeWithAnnotations
));
276
TypeWithAnnotations pointedAtType =
PointedAtTypeWithAnnotations
.MergeEquivalentTypes(((PointerTypeSymbol)other).
PointedAtTypeWithAnnotations
, VarianceKind.None);
282
return
PointedAtTypeWithAnnotations
.IsSameAs(newPointedAtType) ? this : new PointerTypeSymbol(newPointedAtType);
290
DeriveUseSiteInfoFromType(ref result, this.
PointedAtTypeWithAnnotations
, AllowedRequiredModifierType.None);
296
return this.
PointedAtTypeWithAnnotations
.GetUnificationUseSiteDiagnosticRecursive(ref result, owner, ref checkedTypes);
Symbols\PublicModel\PointerTypeSymbol.cs (2)
40
Interlocked.CompareExchange(ref _lazyPointedAtType, _underlying.
PointedAtTypeWithAnnotations
.GetPublicSymbol(), null);
49
get { return _underlying.
PointedAtTypeWithAnnotations
.CustomModifiers; }
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
748
TypeWithAnnotations oldPointed = type.
PointedAtTypeWithAnnotations
;
Symbols\TypeSymbolExtensions.cs (2)
926
next = ((PointerTypeSymbol)current).
PointedAtTypeWithAnnotations
;
2032
var pointedAtType = pointerType.
PointedAtTypeWithAnnotations
;
Symbols\TypeUnification.cs (2)
138
return CanUnifyHelper(pt1.
PointedAtTypeWithAnnotations
, pt2.
PointedAtTypeWithAnnotations
, ref substitution);
Utilities\TypeSymbolExtensions.cs (2)
39
return customModifierCountForTypeWithAnnotations(pointer.
PointedAtTypeWithAnnotations
);
107
TypeWithAnnotations pointedAtType = pointer.
PointedAtTypeWithAnnotations
;