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