19 references to Type
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder.ValueChecks.cs (5)
859var isValueType = ((BoundThisReference)expr).Type.IsValueType; 3403Debug.Assert(thisParam.Type.Equals(((BoundThisReference)expr).Type, TypeCompareKind.ConsiderEverything)); 3729Debug.Assert(thisParam.Type.Equals(((BoundThisReference)expr).Type, TypeCompareKind.ConsiderEverything)); 4073Debug.Assert(thisParam.Type.Equals(((BoundThisReference)expr).Type, TypeCompareKind.ConsiderEverything)); 4765Debug.Assert(thisParam.Type.Equals(((BoundThisReference)expr).Type, TypeCompareKind.ConsiderEverything));
CodeGen\EmitExpression.cs (3)
808var thisType = thisRef.Type; 3189Debug.Assert(thisRef.Type.IsValueType); 3192EmitSymbolToken(thisRef.Type, thisRef.Syntax);
Compiler\MethodBodySynthesizer.cs (1)
111thisReference.Type)
Generated\BoundNodes.xml.Generated.cs (3)
4394if (!TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 11453TypeSymbol? type = this.VisitType(node.Type); 15960new TreeDumperNode("type", node.Type, null),
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (3)
573F.This().Type), 585F.This().Type), 614_asyncMethodBuilderMemberCollection.AwaitOnCompleted).Construct(loweredAwaiterType, F.This().Type);
Lowering\ClosureConversion\ClosureConversion.cs (1)
844FramePointer(node.Syntax, (NamedTypeSymbol)node.Type));
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
843return structThisCanChangeValueBetweenReads && ((BoundThisReference)expression).Type.IsStructType();
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (2)
204Debug.Assert(TypeSymbol.Equals(frameClass, result.Type, TypeCompareKind.ConsiderEverything2)); 960return node.Update(VisitType(node.Type));