1 write to ElementType
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
7189
this.
ElementType
= elementType;
17 references to ElementType
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Expressions.cs (2)
368
var type = new PointerTypeSymbol(TypeWithAnnotations.Create(boundStackAlloc.
ElementType
));
2810
Error(diagnostics, ErrorCode.ERR_StackAllocConversionNotPossible, syntax, stackAllocExpression.
ElementType
, targetType);
Binder\Binder_Statements.cs (1)
2382
Error(diagnostics, ErrorCode.ERR_StackAllocConversionNotPossible, syntax, stackAllocExpression.
ElementType
, targetType);
Binder\Semantics\Conversions\Conversions.cs (3)
489
Debug.Assert((object)sourceExpression.
ElementType
!= null);
491
var sourceAsPointer = new PointerTypeSymbol(TypeWithAnnotations.Create(sourceExpression.
ElementType
));
503
var spanType_T = spanType.Construct(sourceExpression.
ElementType
);
BoundTree\Formatting.cs (1)
155
=> (Type is null) ? FormattableStringFactory.Create("stackalloc {0}[{1}]",
ElementType
, Count.WasCompilerGenerated ? null : Count.Syntax.ToString()) : base.Display;
Generated\BoundNodes.xml.Generated.cs (8)
7216
if (!TypeSymbol.Equals(elementType, this.
ElementType
, TypeCompareKind.ConsiderEverything) || count != this.Count || initializerOpt != this.InitializerOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
7245
if (!TypeSymbol.Equals(elementType, this.
ElementType
, TypeCompareKind.ConsiderEverything) || count != this.Count || initializerOpt != this.InitializerOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
11916
TypeSymbol? elementType = this.VisitType(node.
ElementType
);
11924
TypeSymbol? elementType = this.VisitType(node.
ElementType
);
14376
TypeSymbol elementType = GetUpdatedSymbol(node, node.
ElementType
);
14395
TypeSymbol elementType = GetUpdatedSymbol(node, node.
ElementType
);
16683
new TreeDumperNode("elementType", node.
ElementType
, null),
16693
new TreeDumperNode("elementType", node.
ElementType
, null),
Lowering\LocalRewriter\LocalRewriter_StackAlloc.cs (1)
37
var elementType = stackAllocNode.
ElementType
;
Lowering\SpillSequenceSpiller.cs (1)
838
return UpdateExpression(builder, node.Update(node.
ElementType
, count, initializerOpt, node.Type));