19 references to Type
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder.ValueChecks.cs (5)
836
var isValueType = ((BoundThisReference)expr).
Type
.IsValueType;
3380
Debug.Assert(thisParam.Type.Equals(((BoundThisReference)expr).
Type
, TypeCompareKind.ConsiderEverything));
3706
Debug.Assert(thisParam.Type.Equals(((BoundThisReference)expr).
Type
, TypeCompareKind.ConsiderEverything));
4050
Debug.Assert(thisParam.Type.Equals(((BoundThisReference)expr).
Type
, TypeCompareKind.ConsiderEverything));
4747
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)
4395
if (!TypeSymbol.Equals(type, this.
Type
, TypeCompareKind.ConsiderEverything))
11490
TypeSymbol? type = this.VisitType(node.
Type
);
15997
new TreeDumperNode("type", node.
Type
, null),
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (3)
587
F.This().
Type
),
599
F.This().
Type
),
628
_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)
209
Debug.Assert(TypeSymbol.Equals(frameClass, result.
Type
, TypeCompareKind.ConsiderEverything2));
978
return node.Update(VisitType(node.
Type
));