19 references to Type
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder.ValueChecks.cs (5)
1083var isValueType = ((BoundThisReference)expr).Type.IsValueType; 3722Debug.Assert(thisParam.Type.Equals(((BoundThisReference)expr).Type, TypeCompareKind.ConsiderEverything)); 4013Debug.Assert(thisParam.Type.Equals(((BoundThisReference)expr).Type, TypeCompareKind.ConsiderEverything)); 4322Debug.Assert(thisParam.Type.Equals(((BoundThisReference)expr).Type, TypeCompareKind.ConsiderEverything)); 4981Debug.Assert(thisParam.Type.Equals(((BoundThisReference)expr).Type, TypeCompareKind.ConsiderEverything));
CodeGen\EmitExpression.cs (3)
819var thisType = thisRef.Type; 3228Debug.Assert(thisRef.Type.IsValueType); 3231EmitSymbolToken(thisRef.Type, thisRef.Syntax);
Compiler\MethodBodySynthesizer.cs (1)
111thisReference.Type)
Generated\BoundNodes.xml.Generated.cs (3)
4394if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 11569TypeSymbol? type = this.VisitType(node.Type); 16138new TreeDumperNode("type", node.Type, null),
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (3)
593F.This().Type), 605F.This().Type), 634_asyncMethodBuilderMemberCollection.AwaitOnCompleted).Construct(loweredAwaiterType, F.This().Type);
Lowering\ClosureConversion\ClosureConversion.cs (1)
849FramePointer(node.Syntax, (NamedTypeSymbol)node.Type));
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
974return structThisCanChangeValueBetweenReads && ((BoundThisReference)expression).Type.IsStructType();
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (2)
209Debug.Assert(TypeSymbol.Equals(frameClass, result.Type, TypeCompareKind.ConsiderEverything2)); 985return node.Update(VisitType(node.Type));