21 references to Type
Microsoft.CodeAnalysis.CSharp (21)
BoundTree\BoundExpressionExtensions.cs (1)
196
var ctor = expr.
Type
.GetMembers(WellKnownMemberNames.InstanceConstructorName).FirstOrDefault();
CodeGen\EmitExpression.cs (1)
803
EmitDelegateCreation(expression, receiver, expression.IsExtensionMethod, meth, expression.
Type
, used);
FlowAnalysis\NullableWalker.cs (3)
9595
Debug.Assert(node.
Type
.IsDelegateType());
9604
var delegateType = (NamedTypeSymbol)node.
Type
;
9654
Debug.Assert(TypeSymbol.Equals(resultTypeWithAnnotations.Type, node.
Type
, TypeCompareKind.IgnoreNullableModifiersForReferenceTypes));
Generated\BoundNodes.xml.Generated.cs (4)
7107
if (argument != this.Argument || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(methodOpt, this.MethodOpt) || isExtensionMethod != this.IsExtensionMethod || wasTargetTyped != this.WasTargetTyped || !TypeSymbol.Equals(type, this.
Type
, TypeCompareKind.ConsiderEverything))
11896
TypeSymbol? type = this.VisitType(node.
Type
);
14334
updatedNode = node.Update(argument, methodOpt, node.IsExtensionMethod, node.WasTargetTyped, node.
Type
);
16658
new TreeDumperNode("type", node.
Type
, null),
Lowering\ClosureConversion\ClosureConversion.cs (1)
1357
VisitType(node.
Type
));
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
795
return DelegateCreation(node.Argument, node.MethodOpt, node.
Type
, staticMember);
801
return DelegateCreation(node.Argument, d.DelegateInvokeMethod, node.
Type
, false);
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
859
CheckMethodGroup((BoundMethodGroup)node.Argument, node.MethodOpt, node.IsExtensionMethod, parentIsConversion: true, convertedToType: node.
Type
);
Lowering\LocalRewriter\DelegateCacheContainer.cs (1)
57
var delegateType = boundDelegateCreation.
Type
;
Lowering\LocalRewriter\DelegateCacheRewriter.cs (1)
171
var delegateType = boundDelegateCreation.
Type
;
Lowering\LocalRewriter\LocalRewriter_DelegateCreationExpression.cs (4)
16
Debug.Assert(!node.
Type
.IsAnonymousType); // Missing EnsureParamCollectionAttributeExists call?
23
var loweredReceiver = _dynamicFactory.MakeDynamicConversion(loweredArgument, isExplicit: false, isArrayIndex: false, isChecked: false, resultType: node.
Type
).ToExpression();
25
return new BoundDelegateCreationExpression(node.Syntax, loweredReceiver, methodOpt: null, isExtensionMethod: false, node.WasTargetTyped, type: node.
Type
);
37
return node.Update(receiver, method, node.IsExtensionMethod, node.WasTargetTyped, node.
Type
);
Lowering\MethodToClassRewriter.cs (1)
597
TypeSymbol type = this.VisitType(node.
Type
);
Lowering\SpillSequenceSpiller.cs (1)
1209
return UpdateExpression(builder, node.Update(argument, node.MethodOpt, node.IsExtensionMethod, node.WasTargetTyped, node.
Type
));