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