24 references to PointerTypeSymbol
Microsoft.CodeAnalysis.CSharp (24)
Binder\Binder_Conversions.cs (1)
2409
stackAllocType = new
PointerTypeSymbol
(TypeWithAnnotations.Create(elementType));
Binder\Binder_Expressions.cs (3)
368
var type = new
PointerTypeSymbol
(TypeWithAnnotations.Create(boundStackAlloc.ElementType));
4453
new
PointerTypeSymbol
(BindType(typeSyntax, diagnostics)));
4492
new
PointerTypeSymbol
(elementType));
Binder\Binder_Operators.cs (1)
2553
TypeSymbol pointerType = new
PointerTypeSymbol
(TypeWithAnnotations.Create(operandType));
Binder\Binder_Statements.cs (1)
1365
TypeSymbol pointerType = new
PointerTypeSymbol
(TypeWithAnnotations.Create(elementType));
Binder\Binder_Symbols.cs (1)
601
return TypeWithAnnotations.Create(new
PointerTypeSymbol
(elementType));
Binder\Semantics\Conversions\Conversions.cs (1)
491
var sourceAsPointer = new
PointerTypeSymbol
(TypeWithAnnotations.Create(sourceExpression.ElementType));
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (1)
582
var voidPointerType = new
PointerTypeSymbol
(TypeWithAnnotations.Create(Compilation.GetSpecialType(SpecialType.System_Void)));
Compilation\CSharpCompilation.cs (1)
2388
return new
PointerTypeSymbol
(TypeWithAnnotations.Create(elementType, elementNullableAnnotation));
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
383
return new
PointerTypeSymbol
(symbol.PointedAtTypeWithAnnotations.WithTypeAndModifiers(otherPointedAtType, otherModifiers));
906
return new
PointerTypeSymbol
(symbol.PointedAtTypeWithAnnotations.WithTypeAndModifiers(translatedPointedAtType, translatedModifiers));
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
374
var operandType = new
PointerTypeSymbol
(TypeWithAnnotations.Create(_factory.SpecialType(SpecialType.System_Void)));
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (1)
560
BoundExpression firstElementAddress = new BoundAddressOfOperator(factory.Syntax, firstElement, type: new
PointerTypeSymbol
(arrayElementType));
Lowering\SyntheticBoundNodeFactory.cs (1)
1226
return new BoundPointerIndirectionOperator(Syntax, Default(new
PointerTypeSymbol
(type)), refersToLocation: false, type.Type);
Symbols\AbstractTypeMap.cs (1)
236
return new
PointerTypeSymbol
(pointedAtType);
Symbols\AssemblySymbol.cs (1)
777
return new
PointerTypeSymbol
(TypeWithAnnotations.Create(symbol));
Symbols\Metadata\PE\DynamicTypeDecoder.cs (1)
343
new
PointerTypeSymbol
(pointerType.PointedAtTypeWithAnnotations.WithTypeAndModifiers(transformedPointedAtType, pointerType.PointedAtTypeWithAnnotations.CustomModifiers));
Symbols\Metadata\PE\PEFieldSymbol.cs (1)
337
type = TypeWithAnnotations.Create(new
PointerTypeSymbol
(TypeWithAnnotations.Create(fixedElementType)));
Symbols\Metadata\PE\SymbolFactory.cs (1)
46
return new
PointerTypeSymbol
(CreateType(type, customModifiers));
Symbols\PointerTypeSymbol.cs (1)
282
return PointedAtTypeWithAnnotations.IsSameAs(newPointedAtType) ? this : new
PointerTypeSymbol
(newPointedAtType);
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
756
return new
PointerTypeSymbol
(newPointed);
Symbols\Source\SourceMemberFieldSymbol.cs (1)
561
type = TypeWithAnnotations.Create(new
PointerTypeSymbol
(type));
Symbols\TypeSymbolExtensions.cs (1)
2038
pointerType = new
PointerTypeSymbol
(pointedAtType);