Binder\Binder_Expressions.cs (32)
108return BadExpression(syntax, LookupResultKind.Empty, ImmutableArray<Symbol>.Empty);
116return BadExpression(syntax, LookupResultKind.Empty, ImmutableArray<Symbol>.Empty, childNode);
124return BadExpression(syntax, LookupResultKind.Empty, ImmutableArray<Symbol>.Empty, childNodes);
132return BadExpression(syntax, lookupResultKind, ImmutableArray<Symbol>.Empty);
140return BadExpression(syntax, lookupResultKind, ImmutableArray<Symbol>.Empty, childNode);
151ImmutableArray<BoundExpression>.Empty,
854node, LookupResultKind.Empty, ImmutableArray<Symbol>.Empty, ImmutableArray.Create<BoundExpression>(BindToTypeForErrorRecovery(BindValue(node.Expression, BindingDiagnosticBag.Discarded, BindValueKind.RefersToLocation))),
1007ImmutableArray<BoundExpression>.Empty;
1041argumentSyntax, LookupResultKind.Empty, ImmutableArray<Symbol>.Empty,
3262foreach (Symbol member in ContainingType?.GetMembers(identifier) ?? ImmutableArray<Symbol>.Empty)
4089sizes: ImmutableArray<BoundExpression>.Empty, boundInitExprOpt: boundInitializerExpressions);
4454ImmutableArray<Symbol>.Empty,
4455ImmutableArray<BoundExpression>.Empty,
4493ImmutableArray<Symbol>.Empty,
4825symbols: ImmutableArray<Symbol>.Empty,
4836symbols: ImmutableArray<Symbol>.Empty, //CONSIDER: we could look for a matching constructor on System.ValueType
4879symbols: ImmutableArray<Symbol>.Empty, //CONSIDER: we could look for a matching constructor on System.ValueType
5047typeArgumentsWithAnnotations: ImmutableArray<TypeWithAnnotations>.Empty,
5200return new BoundBadExpression(syntax, LookupResultKind.Empty, ImmutableArray<Symbol?>.Empty, ImmutableArray<BoundExpression>.Empty, CreateErrorType());
5860ImmutableArray<BoundExpression> arguments = ImmutableArray<BoundExpression>.Empty;
6389return BadExpression(elementInitializer, LookupResultKind.NotInvocable, ImmutableArray<Symbol>.Empty, boundElementInitializerExpressions);
6429applicableMethods: ImmutableArray<MethodSymbol>.Empty,
7020return new BoundBadExpression(node, LookupResultKind.OverloadResolutionFailure, ImmutableArray<Symbol>.Empty, children, interfaceType);
7980lookupResult.Symbols.All(s => s.Kind == SymbolKind.Method) ? lookupResult.Symbols.SelectAsArray(s_toMethodSymbolFunc) : ImmutableArray<MethodSymbol>.Empty,
8050ReportQueryLookupFailed(node, boundLeft, plainName, ImmutableArray<Symbol>.Empty, diagnostics);
8160(object)symbolOpt == null ? ImmutableArray<Symbol>.Empty : ImmutableArray.Create(symbolOpt),
8161boundLeft == null ? ImmutableArray<BoundExpression>.Empty : ImmutableArray.Create(BindToTypeForErrorRecovery(boundLeft)),
8302boundDimensionsOpt: ImmutableArray<BoundExpression>.Empty,
9268return new BoundBadExpression(node, LookupResultKind.Empty, ImmutableArray<Symbol>.Empty, childBoundNodes, CreateErrorType(), hasErrors: true);
9289return BindDynamicIndexer(node, expr, arguments, ImmutableArray<PropertySymbol>.Empty, diagnostics);
9666ImmutableArray<BoundExpression>.Empty,
Binder\Binder_Patterns.cs (4)
370lengthAccess = new BoundBadExpression(node, LookupResultKind.Empty, ImmutableArray<Symbol?>.Empty, ImmutableArray<BoundExpression>.Empty, CreateErrorType(), hasErrors: true) { WasCompilerGenerated = true };
988positionalClause, declType, ImmutableArray<TypeWithAnnotations>.Empty, permitDesignations, ref hasErrors, patternsBuilder, diagnostics);
1384addSubpatternsForTuple(ImmutableArray<TypeWithAnnotations>.Empty);
Binder\Binder_Query.cs (8)
302state.selectOrGroup, LookupResultKind.OverloadResolutionFailure, ImmutableArray<Symbol?>.Empty,
696return lambdaBodyBinder.CreateBlockFromExpression(node, ImmutableArray<LocalSymbol>.Empty, RefKind.None, construction, null, d);
736yExpression = new BoundBadExpression(yExpression.Syntax, LookupResultKind.Empty, ImmutableArray<Symbol?>.Empty, ImmutableArray.Create(yExpression), CreateErrorType());
742yExpression = new BoundBadExpression(yExpression.Syntax, LookupResultKind.Empty, ImmutableArray<Symbol?>.Empty, ImmutableArray.Create(yExpression), yExpression.Type);
803field2Value = new BoundBadExpression(field2Value.Syntax, LookupResultKind.Empty, ImmutableArray<Symbol?>.Empty, ImmutableArray.Create(field2Value), field2Value.Type, true);
906return MakeQueryInvocation(node, receiver, methodName, new SeparatedSyntaxList<TypeSyntax>(new SyntaxNodeOrTokenList(typeArgSyntax, 0)), ImmutableArray.Create(typeArg), ImmutableArray<BoundExpression>.Empty, diagnostics
975receiver = new BoundBadExpression(receiver.Syntax, LookupResultKind.NotAValue, ImmutableArray<Symbol?>.Empty, ImmutableArray.Create(receiver), CreateErrorType());
997receiver = new BoundBadExpression(receiver.Syntax, LookupResultKind.NotAValue, ImmutableArray<Symbol?>.Empty, ImmutableArray.Create(receiver), CreateErrorType());
Binder\Binder_Statements.cs (17)
146result = new BoundBadStatement(node, ImmutableArray<BoundNode>.Empty, hasErrors: true);
543childNodes = ImmutableArray<BoundNode>.Empty;
1841ImmutableArray<BoundExpression>.Empty);
2798declarations = ImmutableArray<BoundLocalDeclaration>.Empty;
2905return new BoundBadStatement(node, ImmutableArray<BoundNode>.Empty, hasErrors: true);
2916return new BoundBadStatement(node, ImmutableArray<BoundNode>.Empty, hasErrors: true);
3215return ImmutableArray<BoundCatchBlock>.Empty;
3694constructorLocals = ImmutableArray<LocalSymbol>.Empty;
3700blockBody: new BoundBlock(typeDecl, ImmutableArray<LocalSymbol>.Empty, ImmutableArray<BoundStatement>.Empty).MakeCompilerGenerated(),
3960arguments: ImmutableArray<BoundExpression>.Empty,
3961argumentNamesOpt: ImmutableArray<string?>.Empty,
3962argumentRefKindsOpt: ImmutableArray<RefKind>.Empty,
3966argsToParamsOpt: ImmutableArray<int>.Empty,
4039return ImmutableArray<LocalSymbol>.Empty;
4047return ImmutableArray<LocalFunctionSymbol>.Empty;
4055return ImmutableArray<LabelSymbol>.Empty;
BoundTree\BoundObjectCreationExpression.cs (2)
15: this(syntax, constructor, ImmutableArray<MethodSymbol>.Empty, arguments, argumentNamesOpt, argumentRefKindsOpt, expanded, argsToParamsOpt, defaultArguments, constantValueOpt, initializerExpressionOpt, wasTargetTyped: false, type, hasErrors)
21return this.Update(constructor, ImmutableArray<MethodSymbol>.Empty, arguments, argumentNamesOpt, argumentRefKindsOpt, expanded, argsToParamsOpt, defaultArguments, constantValueOpt, initializerExpressionOpt, this.WasTargetTyped, type);
BoundTree\Constructors.cs (6)
170return Synthesized(syntax, receiverOpt, initialBindingReceiverIsSubjectToCloning: initialBindingReceiverIsSubjectToCloning, method, ImmutableArray<BoundExpression>.Empty);
550: this(syntax, aliasOpt, boundContainingTypeOpt, ImmutableArray<BoundExpression>.Empty, typeWithAnnotations, hasErrors)
656: this(syntax, locals, ImmutableArray<LocalFunctionSymbol>.Empty, hasUnsafeModifier: false, instrumentation: null, statements, hasErrors)
662return new BoundBlock(syntax, ImmutableArray<LocalSymbol>.Empty, ImmutableArray.Create(statement))
668return new BoundBlock(syntax, ImmutableArray<LocalSymbol>.Empty, statements) { WasCompilerGenerated = true };
673return new BoundBlock(syntax, ImmutableArray<LocalSymbol>.Empty, statements.AsImmutableOrNull()) { WasCompilerGenerated = true };
Compilation\BuiltInOperators.cs (17)
237ImmutableArray<UnaryOperatorSignature>.Empty,
238ImmutableArray<UnaryOperatorSignature>.Empty,
309ImmutableArray<BinaryOperatorSignature>.Empty, //multiplication
310ImmutableArray<BinaryOperatorSignature>.Empty, //addition
311ImmutableArray<BinaryOperatorSignature>.Empty, //subtraction
312ImmutableArray<BinaryOperatorSignature>.Empty, //division
313ImmutableArray<BinaryOperatorSignature>.Empty, //remainder
314ImmutableArray<BinaryOperatorSignature>.Empty, //left shift
315ImmutableArray<BinaryOperatorSignature>.Empty, //right shift
316ImmutableArray<BinaryOperatorSignature>.Empty, //equal
317ImmutableArray<BinaryOperatorSignature>.Empty, //not equal
318ImmutableArray<BinaryOperatorSignature>.Empty, //greater than
319ImmutableArray<BinaryOperatorSignature>.Empty, //less than
320ImmutableArray<BinaryOperatorSignature>.Empty, //greater than or equal
321ImmutableArray<BinaryOperatorSignature>.Empty, //less than or equal
323ImmutableArray<BinaryOperatorSignature>.Empty, //xor
325ImmutableArray<BinaryOperatorSignature>.Empty, //unsigned right shift
Compiler\MethodCompiler.cs (19)
308ImmutableArray<EncLambdaInfo>.Empty,
309ImmutableArray<LambdaRuntimeRudeEditInfo>.Empty,
310ImmutableArray<EncClosureInfo>.Empty,
311ImmutableArray<StateMachineStateDebugInfo>.Empty,
318codeCoverageSpans: ImmutableArray<SourceSpan>.Empty,
638var processedInitializers = new Binder.ProcessedFieldInitializers() { BoundInitializers = ImmutableArray<BoundInitializer>.Empty };
765ImmutableArray<EncLambdaInfo>.Empty,
766ImmutableArray<LambdaRuntimeRudeEditInfo>.Empty,
767ImmutableArray<EncClosureInfo>.Empty,
775codeCoverageSpans: ImmutableArray<SourceSpan>.Empty,
900sourceMethod.SetDiagnostics(ImmutableArray<Diagnostic>.Empty, out diagsWritten);
961body = new BoundBlock(methodSymbol.GetNonNullSyntaxNode(), ImmutableArray<LocalSymbol>.Empty, ImmutableArray<BoundStatement>.Empty) { WasCompilerGenerated = true };
1004new BoundBlock(analyzedInitializers.Syntax, ImmutableArray<LocalSymbol>.Empty, analyzedInitializers.Statements), // The block is necessary to establish the right local scope for the analysis
1198codeCoverageSpans = ImmutableArray<SourceSpan>.Empty;
1222boundStatements = ImmutableArray<BoundStatement>.Empty;
1384codeCoverageSpans = ImmutableArray<SourceSpan>.Empty;
1476codeCoverageSpans = ImmutableArray<SourceSpan>.Empty;
1951statements = ImmutableArray<BoundStatement>.Empty;
Emitter\Model\PEAssemblyBuilder.cs (19)
203ImmutableArray<TypedConstant>.Empty,
204ImmutableArray<KeyValuePair<string, TypedConstant>>.Empty);
216ImmutableArray<KeyValuePair<string, TypedConstant>>.Empty);
230ImmutableArray<KeyValuePair<string, TypedConstant>>.Empty);
244ImmutableArray<KeyValuePair<string, TypedConstant>>.Empty);
259ImmutableArray<KeyValuePair<string, TypedConstant>>.Empty);
272ImmutableArray<TypedConstant>.Empty,
273ImmutableArray<KeyValuePair<string, TypedConstant>>.Empty);
287ImmutableArray<KeyValuePair<string, TypedConstant>>.Empty);
300ImmutableArray<TypedConstant>.Empty,
301ImmutableArray<KeyValuePair<string, TypedConstant>>.Empty);
314ImmutableArray<TypedConstant>.Empty,
315ImmutableArray<KeyValuePair<string, TypedConstant>>.Empty);
328ImmutableArray<TypedConstant>.Empty,
329ImmutableArray<KeyValuePair<string, TypedConstant>>.Empty);
342ImmutableArray<TypedConstant>.Empty,
343ImmutableArray<KeyValuePair<string, TypedConstant>>.Empty);
356ImmutableArray<TypedConstant>.Empty,
357ImmutableArray<KeyValuePair<string, TypedConstant>>.Empty);
FlowAnalysis\NullableWalker.cs (9)
657: ImmutableArray<string>.Empty;
682checkMemberStateOnConstructorExit(method, member, state, thisSlot, exitLocation, membersWithStateEnforcedByRequiredMembers: ImmutableArray<string>.Empty, forcePropertyAnalysis: true);
790var info = new CSDiagnosticInfo(errorCode, new object[] { symbol.Kind.Localize(), symbol.Name }, ImmutableArray<Symbol>.Empty, additionalLocations: symbol.Locations);
866return ImmutableArray<Symbol>.Empty;
911=> ImmutableArray<Symbol>.Empty,
5581_ => ImmutableArray<NamedTypeSymbol>.Empty,
7288return ImmutableArray<VisitResult>.Empty;
8926_ => (null, ImmutableArray<ParameterSymbol>.Empty),
12096VisitArguments(node, node.ConstructorArguments, ImmutableArray<RefKind>.Empty, node.Constructor, argsToParamsOpt: node.ConstructorArgumentsToParamsOpt, defaultArguments: node.ConstructorDefaultArguments,
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (5)
351return new BoundBadExpression(node.Syntax, default(LookupResultKind), ImmutableArray<Symbol>.Empty, ImmutableArray.Create<BoundExpression>(node), ExpressionType);
382return new BoundBadExpression(node.Syntax, 0, ImmutableArray<Symbol>.Empty, ImmutableArray.Create<BoundExpression>(node), ExpressionType);
1091return new BoundBadExpression(node.Syntax, default(LookupResultKind), ImmutableArray<Symbol>.Empty, ImmutableArray.Create<BoundExpression>(node), node.Type);
1098return new BoundBadExpression(node.Syntax, default(LookupResultKind), ImmutableArray<Symbol>.Empty, ImmutableArray.Create<BoundExpression>(node), node.Type);
1130return new BoundBadExpression(node.Syntax, default(LookupResultKind), ImmutableArray<Symbol>.Empty, ImmutableArray.Create<BoundExpression>(node), node.Type);
Lowering\LocalRewriter\LocalRewriter_Event.cs (5)
128clearCall = new BoundBadExpression(syntax, LookupResultKind.NotInvocable, ImmutableArray<Symbol?>.Empty, ImmutableArray.Create<BoundExpression>(removeDelegate), ErrorTypeSymbol.UnknownResultType);
170marshalCall = new BoundBadExpression(syntax, LookupResultKind.NotInvocable, ImmutableArray<Symbol?>.Empty, marshalArguments, ErrorTypeSymbol.UnknownResultType);
180? ImmutableArray<LocalSymbol>.Empty
265getOrCreateCall = new BoundBadExpression(syntax, LookupResultKind.NotInvocable, ImmutableArray<Symbol?>.Empty, ImmutableArray.Create<BoundExpression>(fieldAccess), ErrorTypeSymbol.UnknownResultType);
287return new BoundBadExpression(syntax, LookupResultKind.NotInvocable, ImmutableArray<Symbol?>.Empty, ImmutableArray.Create(getOrCreateCall), ErrorTypeSymbol.UnknownResultType);
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (5)
67ImmutableArray<BoundCatchBlock>.Empty,
379locals: ImmutableArray<LocalSymbol>.Empty,
483helperCall = new BoundBadExpression(fixedInitializer.Syntax, LookupResultKind.NotInvocable, ImmutableArray<Symbol?>.Empty, ImmutableArray<BoundExpression>.Empty, ErrorTypeSymbol.UnknownResultType);
544lengthCall = new BoundBadExpression(fixedInitializer.Syntax, LookupResultKind.NotInvocable, ImmutableArray<Symbol?>.Empty, ImmutableArray.Create<BoundExpression>(factory.Local(pinnedTemp)), ErrorTypeSymbol.UnknownResultType);
Lowering\LocalRewriter\LocalRewriter_LockStatement.cs (4)
117exitCallExpr = new BoundBadExpression(lockSyntax, LookupResultKind.NotInvocable, ImmutableArray<Symbol?>.Empty, ImmutableArray.Create<BoundExpression>(boundLockTemp), ErrorTypeSymbol.UnknownResultType);
179ImmutableArray<BoundCatchBlock>.Empty,
212enterCallExpr = new BoundBadExpression(lockSyntax, LookupResultKind.NotInvocable, ImmutableArray<Symbol?>.Empty, ImmutableArray.Create<BoundExpression>(boundLockTemp), ErrorTypeSymbol.UnknownResultType);
228ImmutableArray<BoundCatchBlock>.Empty,
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (8)
107ImmutableArray<BoundExpression>.Empty,
350ImmutableArray<BoundExpression>.Empty,
389newGuid = new BoundBadExpression(node.Syntax, LookupResultKind.NotCreatable, ImmutableArray<Symbol?>.Empty, ImmutableArray<BoundExpression>.Empty, ErrorTypeSymbol.UnknownResultType);
407callGetTypeFromCLSID = new BoundBadExpression(node.Syntax, LookupResultKind.OverloadResolutionFailure, ImmutableArray<Symbol?>.Empty, ImmutableArray<BoundExpression>.Empty, ErrorTypeSymbol.UnknownResultType);
419rewrittenObjectCreation = new BoundBadExpression(node.Syntax, LookupResultKind.OverloadResolutionFailure, ImmutableArray<Symbol?>.Empty, ImmutableArray<BoundExpression>.Empty, node.Type);
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (12)
84tuple.Syntax, sourceTuple: null, wasTargetTyped: true, newArguments, ImmutableArray<string?>.Empty,
85ImmutableArray<bool>.Empty, conversion.Type, conversion.HasErrors);
126syntax, sourceTuple: null, wasTargetTyped: true, fieldAccessorsBuilder.ToImmutableAndFree(), ImmutableArray<string?>.Empty,
127ImmutableArray<bool>.Empty, expr.Type, expr.HasErrors);
162tuple.Syntax, sourceTuple: null, wasTargetTyped: false, newArguments, ImmutableArray<string?>.Empty,
163ImmutableArray<bool>.Empty, tuple.Type, tuple.HasErrors);
308BoundExpression innerSequence = _factory.Sequence(locals: ImmutableArray<LocalSymbol>.Empty, innerEffects.ToImmutableAndFree(), logicalExpression);
322return _factory.Sequence(ImmutableArray<LocalSymbol>.Empty, outerEffects.ToImmutableAndFree(),
330return _factory.Sequence(ImmutableArray<LocalSymbol>.Empty, outerEffects.ToImmutableAndFree(),
339_factory.Sequence(ImmutableArray<LocalSymbol>.Empty, outerEffects.ToImmutableAndFree(),
459argumentNamesOpt: ImmutableArray<string?>.Empty,
460inferredNamesOpt: ImmutableArray<bool>.Empty,
Lowering\SyntheticBoundNodeFactory.cs (15)
233return new BoundBadExpression(Syntax, LookupResultKind.Empty, ImmutableArray<Symbol?>.Empty, ImmutableArray<BoundExpression>.Empty, type, hasErrors: true);
445return Block(ImmutableArray<BoundStatement>.Empty);
450return Block(ImmutableArray<LocalSymbol>.Empty, statements);
485return StatementList(ImmutableArray<BoundStatement>.Empty);
533statements.Add(Try(Block(statement), ImmutableArray<BoundCatchBlock>.Empty, Block(instrumentation.Epilogue)));
789return new BoundBadExpression(Syntax, default(LookupResultKind), ImmutableArray<Symbol?>.Empty, args.AsImmutable(), receiver);
826return Call(receiver, method, ImmutableArray<BoundExpression>.Empty);
890argsToParamsOpt: ImmutableArray<int>.Empty, defaultArguments: default(BitVector), resultKind: LookupResultKind.Viable, type: method.ReturnType)
916return If(condition, ImmutableArray<LocalSymbol>.Empty, thenClause, elseClauseOpt);
992return MakeSequence(ImmutableArray<LocalSymbol>.Empty, parts);
1021return new BoundSequence(Syntax, ImmutableArray<LocalSymbol>.Empty, sideEffects.AsImmutableOrNull(), result, resultType) { WasCompilerGenerated = true };
1602return new BoundCatchBlock(Syntax, ImmutableArray<LocalSymbol>.Empty, source, source.Type, exceptionFilterPrologueOpt: null, exceptionFilterOpt: null, body: block, isSynthesizedAsyncCatchAll: false);
1607return new BoundTryStatement(Syntax, tryBlock, ImmutableArray<BoundCatchBlock>.Empty, faultBlock, finallyLabelOpt: null, preferFaultHandler: true);
1844locals: ImmutableArray<LocalSymbol>.Empty,
Operations\CSharpOperationFactory.cs (24)
341return ImmutableArray<TOperation>.Empty;
378return ImmutableArray<IOperation>.Empty;
543dimensions = ImmutableArray<BoundExpression>.Empty;
615var arguments = ImmutableArray<IArgumentOperation>.Empty;
723declarations: ImmutableArray<BoundAnonymousPropertyDeclaration>.Empty,
764return CreateBoundDynamicMemberAccessOperation(implicitReceiver, typeArgumentsOpt: ImmutableArray<TypeSymbol>.Empty, memberName: "Add",
897arguments = ImmutableArray<IArgumentOperation>.Empty;
914ImmutableArray<ITypeSymbol> typeArguments = ImmutableArray<ITypeSymbol>.Empty;
964ImmutableArray<ITypeSymbol> typeArguments = ImmutableArray<ITypeSymbol>.Empty;
981return new DynamicInvocationOperation(operation, arguments, argumentNames: ImmutableArray<string?>.Empty, argumentRefKinds: ImmutableArray<RefKind>.Empty, _semanticModel, syntax, type, isImplicit);
1940return ImmutableArray<IArgumentOperation>.Empty;
1969return new VariableDeclaratorOperation(local.GetPublicSymbol(), initializer: null, ignoredArguments: ImmutableArray<IOperation>.Empty, semanticModel: _semanticModel, syntax: declaratorSyntax, isImplicit: false);
1981var nextVariables = ImmutableArray<IOperation>.Empty;
2489return new InvalidOperation(ImmutableArray<IOperation>.Empty, _semanticModel, syntax, type, placeholder.ConstantValueOpt, isImplicit);
2558: ImmutableArray<IPatternOperation>.Empty;
2561: ImmutableArray<IPropertySubpatternOperation>.Empty;
2579: ImmutableArray<IPatternOperation>.Empty;
2585propertySubpatterns: ImmutableArray<IPropertySubpatternOperation>.Empty,
2861var reference = OperationFactory.CreateInvalidOperation(_semanticModel, subpatternSyntax, ImmutableArray<IOperation>.Empty, isImplicit: true);
2883matchedType: previousType, deconstructSymbol: null, deconstructionSubpatterns: ImmutableArray<IPatternOperation>.Empty,
2907reference = new PropertyReferenceOperation(property.GetPublicSymbol(), constrainedToType: null, ImmutableArray<IArgumentOperation>.Empty,
2915reference = OperationFactory.CreateInvalidOperation(_semanticModel, nameSyntax, ImmutableArray<IOperation>.Empty, isImplicit: false);
2947return ImmutableArray<IArgumentOperation>.Empty;
Operations\CSharpOperationFactory_Methods.cs (6)
22return ImmutableArray<BoundStatement>.Empty;
75return new VariableInitializerOperation(locals: ImmutableArray<ILocalSymbol>.Empty, value, _semanticModel, initializerSyntax, initializerIsImplicit);
95return boundLocal == null ? null : new VariableDeclaratorOperation(boundLocal.LocalSymbol.GetPublicSymbol(), initializer: null, ignoredArguments: ImmutableArray<IOperation>.Empty, semanticModel: _semanticModel, syntax: boundLocal.Syntax, isImplicit: false);
276return ImmutableArray<IArgumentOperation>.Empty;
443arguments: ImmutableArray<IArgumentOperation>.Empty,
455ImmutableArray<IArgumentOperation>.Empty,
Symbols\Source\SourceMemberContainerSymbol.cs (41)
815ImmutableInterlocked.InterlockedInitialize(ref _managedKindUseSiteDiagnostics, managedKindUseSiteInfo.Diagnostics?.ToImmutableArray() ?? ImmutableArray<DiagnosticInfo>.Empty);
816ImmutableInterlocked.InterlockedInitialize(ref _managedKindUseSiteDependencies, managedKindUseSiteInfo.Dependencies?.ToImmutableArray() ?? ImmutableArray<AssemblySymbol>.Empty);
1292return ImmutableArray<NamedTypeSymbol>.Empty;
1487return ImmutableArray<Symbol>.Empty;
1505return ImmutableArray<Symbol>.Empty;
1563return GetEarlyAttributeDecodingMembersDictionary().TryGetValue(name.AsMemory(), out result) ? result : ImmutableArray<Symbol>.Empty;
3177return ImmutableArray<ImmutableArray<FieldOrPropertyInitializer>>.Empty;
3314return ImmutableArray<SynthesizedSimpleProgramEntryPointSymbol>.Empty;
3338return ImmutableArray<SynthesizedSimpleProgramEntryPointSymbol>.Empty;
4303ImmutableArray<TypeParameterSymbol>.Empty,
4305ImmutableArray<CustomModifier>.Empty,
4314ImmutableArray<CustomModifier>.Empty,
4315ImmutableArray<MethodSymbol>.Empty);
4350ImmutableArray<TypeParameterSymbol>.Empty,
4353ImmutableArray<CustomModifier>.Empty,
4362ImmutableArray<CustomModifier>.Empty,
4363ImmutableArray<MethodSymbol>.Empty);
4399ImmutableArray<TypeParameterSymbol>.Empty,
4402ImmutableArray<CustomModifier>.Empty,
4410refCustomModifiers: ImmutableArray<CustomModifier>.Empty,
4411explicitInterfaceImplementations: ImmutableArray<MethodSymbol>.Empty);
4459ImmutableArray<TypeParameterSymbol>.Empty,
4460ImmutableArray<ParameterSymbol>.Empty,
4465refCustomModifiers: ImmutableArray<CustomModifier>.Empty,
4466explicitInterfaceImplementations: ImmutableArray<MethodSymbol>.Empty);
4539ImmutableArray<ParameterSymbol>.Empty,
4542ImmutableArray<CustomModifier>.Empty,
4544ImmutableArray<PropertySymbol>.Empty);
4633ImmutableArray<TypeParameterSymbol>.Empty,
4634ImmutableArray<ParameterSymbol>.Empty,
4639ImmutableArray<CustomModifier>.Empty,
4640ImmutableArray<MethodSymbol>.Empty);
4665ImmutableArray<ParameterSymbol>.Empty,
4668ImmutableArray<CustomModifier>.Empty,
4670ImmutableArray<PropertySymbol>.Empty);
4726ImmutableArray<TypeParameterSymbol>.Empty,
4729ImmutableArray<CustomModifier>.Empty,
4738ImmutableArray<CustomModifier>.Empty,
4739ImmutableArray<MethodSymbol>.Empty);
5440public static readonly SynthesizedExplicitImplementations Empty = new SynthesizedExplicitImplementations(ImmutableArray<SynthesizedExplicitImplementationForwardingMethod>.Empty,
5441ImmutableArray<(MethodSymbol Body, MethodSymbol Implemented)>.Empty);
Binding\Binder_Expressions.vb (16)
280Return BadExpression(node, ImmutableArray(Of BoundExpression).Empty, ErrorTypeSymbol.UnknownResultType)
289Return New BoundBadExpression(node, LookupResultKind.Empty, ImmutableArray(Of Symbol).Empty, ImmutableArray(Of BoundExpression).Empty, resultType, hasErrors:=True)
297Return New BoundBadExpression(node, LookupResultKind.Empty, ImmutableArray(Of Symbol).Empty, ImmutableArray.Create(expr), resultType, hasErrors:=True)
305Return New BoundBadExpression(node, resultKind, ImmutableArray(Of Symbol).Empty, ImmutableArray.Create(expr), resultType, hasErrors:=True)
313Return New BoundBadExpression(node, LookupResultKind.Empty, ImmutableArray(Of Symbol).Empty, exprs, resultType, hasErrors:=True)
326Return New BoundBadExpression(wrappedExpression.Syntax, resultKind, ImmutableArray(Of Symbol).Empty, ImmutableArray.Create(wrappedExpression), wrappedExpression.Type, hasErrors:=True)
338ImmutableArray(Of BoundExpression).Empty)
1661Dim initializers = ImmutableArray(Of BoundExpression).Empty
3134If(receiver IsNot Nothing, ImmutableArray.Create(receiver), ImmutableArray(Of BoundExpression).Empty),
3600ImmutableArray(Of Symbol).Empty,
3601ImmutableArray(Of BoundExpression).Empty,
4287init = New BoundArrayInitialization(expr, ImmutableArray(Of BoundExpression).Empty, arrayInitType, hasErrors:=True)
4755ImmutableArray(Of BoundExpression).Empty,
4804ImmutableArray(Of BoundExpression).Empty,
4853ImmutableArray(Of BoundExpression).Empty,
Binding\Binder_ObjectInitializer.vb (6)
122CheckRequiredMembersInObjectInitializer(constructorSymbol, namedType, If(initializerOpt?.Initializers, ImmutableArray(Of BoundExpression).Empty), typeNode, diagnostics)
132arguments:=ImmutableArray(Of BoundExpression).Empty,
299ImmutableArray(Of Symbol).Empty,
388ImmutableArray(Of Symbol).Empty,
501CheckRequiredMembersInObjectInitializer(constructorSymbol, constructorSymbol.ContainingType, If(objectInitializerExpressionOpt?.Initializers, ImmutableArray(Of BoundExpression).Empty), typeNode, diagnostics)
1002ImmutableArray(Of Symbol).Empty,
Binding\Binder_Query.vb (44)
220ImmutableArray(Of RangeVariableSymbol).Empty,
237ImmutableArray(Of RangeVariableSymbol).Empty,
270ImmutableArray(Of RangeVariableSymbol).Empty,
326ImmutableArray(Of RangeVariableSymbol).Empty,
366ImmutableArray(Of RangeVariableSymbol).Empty,
423ImmutableArray(Of Binder).Empty,
438Dim selectSelectorBinder As New QueryLambdaBinder(selectSelectorLambdaSymbol, ImmutableArray(Of RangeVariableSymbol).Empty)
465ImmutableArray(Of BoundExpression).Empty).MakeCompilerGenerated()
483ImmutableArray(Of BoundExpression).Empty).MakeCompilerGenerated()
488keysRangeVariablesPart2 = ImmutableArray(Of RangeVariableSymbol).Empty
505ImmutableArray(Of BoundExpression).Empty).MakeCompilerGenerated()
509keysRangeVariablesPart2 = ImmutableArray(Of RangeVariableSymbol).Empty
512keysRangeVariablesPart1 = ImmutableArray(Of RangeVariableSymbol).Empty
514keysRangeVariablesPart2 = ImmutableArray(Of RangeVariableSymbol).Empty
610ImmutableArray(Of RangeVariableSymbol).Empty,
632ImmutableArray(Of RangeVariableSymbol).Empty,
634ImmutableArray(Of Binder).Empty,
1094joinSelectorDeclaredRangeVariables = ImmutableArray(Of RangeVariableSymbol).Empty
1407ImmutableArray(Of Binder).Empty,
1489joinSelectorDeclaredRangeVariables = ImmutableArray(Of RangeVariableSymbol).Empty
1653ImmutableArray(Of Binder).Empty,
1887itemsRangeVariables = ImmutableArray(Of RangeVariableSymbol).Empty
2125Dim intoLambdaBinder As New QueryLambdaBinder(intoLambdaSymbol, ImmutableArray(Of RangeVariableSymbol).Empty)
2137ImmutableArray(Of RangeVariableSymbol).Empty,
2422ImmutableArray(Of BoundExpression).Empty,
2431ImmutableArray(Of Binder).Empty,
2503ImmutableArray(Of Binder).Empty,
2666Return ImmutableArray(Of Symbol).Empty
2757declaredRangeVariables = ImmutableArray(Of RangeVariableSymbol).Empty
3018ImmutableArray(Of RangeVariableSymbol).Empty),
3030ImmutableArray(Of RangeVariableSymbol).Empty),
3051keysRangeVariablesPart2 = ImmutableArray(Of RangeVariableSymbol).Empty
3058keysRangeVariablesPart2 = ImmutableArray(Of RangeVariableSymbol).Empty
3061keysRangeVariablesPart1 = ImmutableArray(Of RangeVariableSymbol).Empty
3063keysRangeVariablesPart2 = ImmutableArray(Of RangeVariableSymbol).Empty
3933arguments = ImmutableArray(Of BoundExpression).Empty
3974ImmutableArray(Of RangeVariableSymbol).Empty,
4235ImmutableArray(Of Binder).Empty,
4271Dim selectorBinder As New QueryLambdaBinder(lambdaSymbol, ImmutableArray(Of RangeVariableSymbol).Empty)
4281ImmutableArray(Of RangeVariableSymbol).Empty,
4303ImmutableArray(Of RangeVariableSymbol).Empty,
4354ImmutableArray(Of BoundExpression).Empty,
4372ImmutableArray(Of BoundExpression).Empty,
4395ImmutableArray(Of BoundExpression).Empty,
Binding\Binder_Statements.vb (18)
217Return New BoundBadStatement(node, ImmutableArray(Of BoundNode).Empty, hasErrors:=True)
228ImmutableArray(Of BoundNode).Empty,
239ImmutableArray(Of BoundNode).Empty,
264Return New BoundBadStatement(node, ImmutableArray(Of BoundNode).Empty, hasErrors:=True)
293Dim locals As ImmutableArray(Of LocalSymbol) = ImmutableArray(Of LocalSymbol).Empty
437ImmutableArray(Of Symbol).Empty,
438ImmutableArray(Of BoundExpression).Empty,
729Dim boundIndices As ImmutableArray(Of BoundExpression) = ImmutableArray(Of BoundExpression).Empty
2105Return New BoundBlock(syntax, stmtList, ImmutableArray(Of LocalSymbol).Empty, boundStatements.AsImmutableOrNull())
3058nextVariables = ImmutableArray(Of BoundExpression).Empty
3610ImmutableArray(Of Symbol).Empty,
3801ImmutableArray(Of Symbol).Empty,
3854ImmutableArray(Of Symbol).Empty,
4225ImmutableArray(Of BoundExpression).Empty,
4553Return ImmutableArray(Of LocalSymbol).Empty
4768Return ImmutableArray(Of BoundCatchBlock).Empty
4922Return New BoundBadStatement(node, ImmutableArray(Of BoundNode).Empty, hasErrors:=True)
4942Return New BoundBadStatement(node, ImmutableArray(Of BoundNode).Empty, hasErrors:=True)
Binding\SyntheticBoundTrees\AnonymousTypeSyntheticMethods.vb (6)
49Return New BoundBlock(syntax, Nothing, ImmutableArray(Of LocalSymbol).Empty, statements.ToImmutableAndFree()).MakeCompilerGenerated()
78Return New BoundBlock(syntax, Nothing, ImmutableArray(Of LocalSymbol).Empty,
161ImmutableArray(Of BoundExpression).Empty,
177ImmutableArray(Of LocalSymbol).Empty,
295Return New BoundSequence(syntax, ImmutableArray(Of LocalSymbol).Empty,
384ImmutableArray(Of LocalSymbol).Empty,
Compilation\MethodCompiler.vb (22)
321lambdaDebugInfo:=ImmutableArray(Of EncLambdaInfo).Empty,
322orderedLambdaRuntimeRudeEdits:=ImmutableArray(Of LambdaRuntimeRudeEditInfo).Empty,
323closureDebugInfo:=ImmutableArray(Of EncClosureInfo).Empty,
324stateMachineStateDebugInfos:=ImmutableArray(Of StateMachineStateDebugInfo).Empty,
330codeCoverageSpans:=ImmutableArray(Of SourceSpan).Empty)
675If CType(method, SourceMethodSymbol).SetDiagnostics(ImmutableArray(Of Diagnostic).Empty) Then
892lambdaDebugInfo:=ImmutableArray(Of EncLambdaInfo).Empty,
893orderedLambdaRuntimeRudeEdits:=ImmutableArray(Of LambdaRuntimeRudeEditInfo).Empty,
894closureDebugInfo:=ImmutableArray(Of EncClosureInfo).Empty,
895stateMachineStateDebugInfos:=ImmutableArray(Of StateMachineStateDebugInfo).Empty,
901codeCoverageSpans:=ImmutableArray(Of SourceSpan).Empty)
946Dim codeCoverageSpans As ImmutableArray(Of SourceSpan) = ImmutableArray(Of SourceSpan).Empty
1039lambdaDebugInfo:=ImmutableArray(Of EncLambdaInfo).Empty,
1040orderedLambdaRuntimeRudeEdits:=ImmutableArray(Of LambdaRuntimeRudeEditInfo).Empty,
1041closureDebugInfo:=ImmutableArray(Of EncClosureInfo).Empty,
1048codeCoverageSpans:=ImmutableArray(Of SourceSpan).Empty)
1244If sourceMethod IsNot Nothing AndAlso sourceMethod.SetDiagnostics(ImmutableArray(Of Diagnostic).Empty) Then
1505Dim codeCoverageSpans As ImmutableArray(Of SourceSpan) = ImmutableArray(Of SourceSpan).Empty
1531ImmutableArray(Of BoundStatement).Empty)
1553body = New BoundBlock(body.Syntax, Nothing, ImmutableArray(Of LocalSymbol).Empty, boundStatements.ToImmutableAndFree(), body.HasErrors).MakeCompilerGenerated()
2093baseInvocation = New BoundCall(syntaxNode, constructorToCall, Nothing, thisRef, ImmutableArray(Of BoundExpression).Empty, Nothing, voidType)
2113ImmutableArray(Of BoundExpression).Empty,
Lowering\AsyncRewriter\AsyncRewriter.SpillBuilder.vb (4)
40F.SpillSequence(If(Me._locals Is Nothing, ImmutableArray(Of LocalSymbol).Empty, Me._locals.ToImmutableAndFree()),
41If(Me._fields Is Nothing, ImmutableArray(Of FieldSymbol).Empty, Me._fields.ToImmutableAndFree()),
42If(Me._statements Is Nothing, ImmutableArray(Of BoundStatement).Empty, Me._statements.ToImmutableAndFree()),
96ImmutableArray(Of FieldSymbol).Empty,
Lowering\LambdaRewriter\LambdaRewriter.vb (9)
256CompilationState.AddSynthesizedMethod(frame.Constructor, MakeFrameCtor(frame, Diagnostics), stateMachineType:=Nothing, ImmutableArray(Of StateMachineStateDebugInfo).Empty)
355CompilationState.AddSynthesizedMethod(frame.Constructor, MakeFrameCtor(frame, diagnostics), stateMachineType:=Nothing, ImmutableArray(Of StateMachineStateDebugInfo).Empty)
366CompilationState.AddSynthesizedMethod(frame.SharedConstructor, body, stateMachineType:=Nothing, ImmutableArray(Of StateMachineStateDebugInfo).Empty)
495ImmutableArray(Of LocalSymbol).Empty,
535ImmutableArray(Of BoundExpression).Empty,
848ImmutableArray(Of LocalSymbol).Empty,
1046SlotAllocatorOpt?.TryGetPreviousLambda(lambdaOrLambdaBodySyntax, isLambdaBody, closureOrdinal, structClosureIds:=ImmutableArray(Of DebugId).Empty, previousLambdaId, lambdaRudeEdit) = True AndAlso
1059_lambdaDebugInfoBuilder.Add(New EncLambdaInfo(New LambdaDebugInfo(syntaxOffset, lambdaId, closureOrdinal), structClosureIds:=ImmutableArray(Of DebugId).Empty))
1427ImmutableArray(Of LocalSymbol).Empty,
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (10)
267ImmutableArray(Of BoundExpression).Empty,
301boundCurrent = New BoundBadExpression(syntaxNode, LookupResultKind.NotReferencable, ImmutableArray(Of Symbol).Empty,
462ImmutableArray(Of LocalSymbol).Empty),
611Dim rewrittenBodyBlock As BoundBlock = New BoundBlock(syntaxNode, Nothing, If(node.DeclaredOrInferredLocalOpt IsNot Nothing, ImmutableArray.Create(Of LocalSymbol)(node.DeclaredOrInferredLocalOpt), ImmutableArray(Of LocalSymbol).Empty), rewrittenBodyStatements)
658Nothing, ImmutableArray(Of LocalSymbol).Empty,
661ImmutableArray(Of BoundCatchBlock).Empty,
663Nothing, ImmutableArray(Of LocalSymbol).Empty,
717Return New BoundBadExpression(syntaxNode, LookupResultKind.NotReferencable, ImmutableArray(Of Symbol).Empty,
748ImmutableArray(Of BoundExpression).Empty,
764ImmutableArray(Of BoundExpression).Empty, Nothing, voidType).ToStatement
Lowering\LocalRewriter\LocalRewriter_LateBindingHelpers.vb (7)
395ImmutableArray(Of LocalSymbol).Empty,
396ImmutableArray(Of BoundExpression).Empty,
454ImmutableArray(Of LocalSymbol).Empty,
531Return New BoundSequence(syntax, ImmutableArray(Of LocalSymbol).Empty, ImmutableArray.Create(Of BoundExpression)(memberAccess), Nothing, Me.GetSpecialType(SpecialType.System_Void))
536Return New BoundSequence(syntax, ImmutableArray(Of LocalSymbol).Empty, ImmutableArray.Create(Of BoundExpression)(memberAccess), Nothing, Me.GetSpecialType(SpecialType.System_Void))
610Return New BoundSequence(syntax, ImmutableArray(Of LocalSymbol).Empty, ImmutableArray.Create(Of BoundExpression)(invocation), Nothing, Me.GetSpecialType(SpecialType.System_Void))
615Return New BoundSequence(syntax, ImmutableArray(Of LocalSymbol).Empty, ImmutableArray.Create(Of BoundExpression)(invocation), Nothing, Me.GetSpecialType(SpecialType.System_Void))
Lowering\LocalRewriter\LocalRewriter_NullableHelpers.vb (9)
26Return New BoundBadExpression(expr.Syntax, LookupResultKind.NotReferencable, ImmutableArray(Of Symbol).Empty, ImmutableArray.Create(expr), nullableType, hasErrors:=True)
199ImmutableArray(Of BoundExpression).Empty,
206Return If(isOptional, Nothing, New BoundBadExpression(expr.Syntax, LookupResultKind.NotReferencable, ImmutableArray(Of Symbol).Empty, ImmutableArray.Create(expr), expr.Type.GetNullableUnderlyingType(), hasErrors:=True))
248ImmutableArray(Of BoundExpression).Empty,
255Return New BoundBadExpression(expr.Syntax, LookupResultKind.NotReferencable, ImmutableArray(Of Symbol).Empty, ImmutableArray.Create(expr), expr.Type.GetNullableUnderlyingType(), hasErrors:=True)
276ImmutableArray(Of BoundExpression).Empty,
283Return New BoundBadExpression(expr.Syntax, LookupResultKind.NotReferencable, ImmutableArray(Of Symbol).Empty, ImmutableArray.Create(expr),
292ImmutableArray(Of BoundExpression).Empty,
528ImmutableArray(Of LocalSymbol).Empty,
Lowering\LocalRewriter\LocalRewriter_ObjectCreation.vb (10)
74newGuid = New BoundBadExpression(node.Syntax, LookupResultKind.NotCreatable, ImmutableArray(Of Symbol).Empty, ImmutableArray(Of BoundExpression).Empty, ErrorTypeSymbol.UnknownResultType, hasErrors:=True)
83callGetTypeFromCLSID = New BoundBadExpression(node.Syntax, LookupResultKind.OverloadResolutionFailure, ImmutableArray(Of Symbol).Empty, ImmutableArray(Of BoundExpression).Empty, ErrorTypeSymbol.UnknownResultType, hasErrors:=True)
94rewrittenObjectCreation = New BoundBadExpression(node.Syntax, LookupResultKind.OverloadResolutionFailure, ImmutableArray(Of Symbol).Empty, ImmutableArray(Of BoundExpression).Empty, node.Type, hasErrors:=True)
147arguments:=ImmutableArray(Of BoundExpression).Empty,
153result = New BoundBadExpression(syntax, LookupResultKind.NotReferencable, ImmutableArray(Of Symbol).Empty, ImmutableArray(Of BoundExpression).Empty, typeParameter, hasErrors:=True)
335sequenceTemporaries = ImmutableArray(Of LocalSymbol).Empty
Lowering\LocalRewriter\LocalRewriter_SyncLock.vb (5)
130ImmutableArray(Of LocalSymbol).Empty,
137ImmutableArray(Of LocalSymbol).Empty,
145Dim rewrittenSyncLock = RewriteTryStatement(syntaxNode, tryBody, ImmutableArray(Of BoundCatchBlock).Empty, finallyBody, Nothing)
225Return New BoundBadExpression(syntaxNode, LookupResultKind.NotReferencable, ImmutableArray(Of Symbol).Empty, parameters, ErrorTypeSymbol.UnknownResultType, hasErrors:=True).ToStatement()
249boundMonitorExitCall = New BoundBadExpression(syntaxNode, LookupResultKind.NotReferencable, ImmutableArray(Of Symbol).Empty, ImmutableArray.Create(boundLockObject), ErrorTypeSymbol.UnknownResultType, hasErrors:=True)
Lowering\LocalRewriter\LocalRewriter_TupleLiteralExpression.vb (4)
56ImmutableArray(Of Symbol).Empty,
65Binder.CheckRequiredMembersInObjectInitializer(smallestConstructor, smallestType, initializers:=ImmutableArray(Of BoundExpression).Empty, syntax, _diagnostics)
78ImmutableArray(Of Symbol).Empty,
84Binder.CheckRequiredMembersInObjectInitializer(tuple8Ctor, tuple8Ctor.ContainingType, initializers:=ImmutableArray(Of BoundExpression).Empty, syntax, _diagnostics)
Lowering\LocalRewriter\LocalRewriter_UnstructuredExceptionHandling.vb (3)
301New BoundCall(node.Syntax, clearProjectError, Nothing, Nothing, ImmutableArray(Of BoundExpression).Empty, Nothing, clearProjectError.ReturnType).ToStatement(),
338statements.Add(New BoundCall(node.Syntax, clearProjectError, Nothing, Nothing, ImmutableArray(Of BoundExpression).Empty, Nothing, clearProjectError.ReturnType).ToStatement)
397statements.Add(New BoundCall(node.Syntax, clearProjectError, Nothing, Nothing, ImmutableArray(Of BoundExpression).Empty, Nothing, clearProjectError.ReturnType).ToStatement)
Lowering\SyntheticBoundNodeFactory.vb (8)
316Return Block(ImmutableArray(Of LocalSymbol).Empty, statements)
326Return Block(ImmutableArray(Of BoundStatement).Empty)
338Return StatementList(ImmutableArray(Of BoundStatement).Empty)
459Dim boundNode = New BoundBadExpression(_syntax, LookupResultKind.Empty, ImmutableArray(Of Symbol).Empty, ImmutableArray.Create(subExpressions), ErrorTypeSymbol.UnknownResultType, hasErrors:=True)
479ImmutableArray(Of BoundExpression).Empty,
586Return [Call](receiver, method, ImmutableArray(Of BoundExpression).Empty)
682Return Sequence(ImmutableArray(Of LocalSymbol).Empty, parts)
1130CompilationState.AddSynthesizedMethod(Me.CurrentMethod, body, stateMachineType:=Nothing, ImmutableArray(Of StateMachineStateDebugInfo).Empty)
Lowering\UseTwiceRewriter.vb (9)
90receiver = New Result(New BoundSequence(capture.Syntax, ImmutableArray(Of LocalSymbol).Empty, ImmutableArray.Create(Of BoundExpression)(capture), boundTemp, boundTemp.Type),
97receiver = New Result(New BoundSequence(capture.Syntax, ImmutableArray(Of LocalSymbol).Empty, ImmutableArray.Create(Of BoundExpression)(capture), boundTemp, boundTemp.Type),
323receiver = New Result(New BoundSequence(capture.Syntax, ImmutableArray(Of LocalSymbol).Empty, ImmutableArray.Create(Of BoundExpression)(capture), boundTemp, boundTemp.Type),
346New BoundSequence(receiverOpt.Syntax, ImmutableArray(Of LocalSymbol).Empty,
357receiver = New Result(New BoundSequence(receiverOpt.Syntax, ImmutableArray(Of LocalSymbol).Empty,
369firstArgs = ImmutableArray(Of BoundExpression).Empty
370secondArgs = ImmutableArray(Of BoundExpression).Empty
430firstArgs = ImmutableArray(Of BoundExpression).Empty
431secondArgs = ImmutableArray(Of BoundExpression).Empty
Operations\VisualBasicOperationFactory.vb (19)
343Return ImmutableArray(Of IOperation).Empty
671Dim children As ImmutableArray(Of IOperation) = ImmutableArray(Of IOperation).Empty
970Dim typeArguments As ImmutableArray(Of ITypeSymbol) = ImmutableArray(Of ITypeSymbol).Empty
995Return New FieldInitializerOperation(initializedFields, ImmutableArray(Of ILocalSymbol).Empty, value, _semanticModel, syntax, isImplicit)
1003Return New PropertyInitializerOperation(initializedProperties, ImmutableArray(Of ILocalSymbol).Empty, value, _semanticModel, syntax, isImplicit)
1011Return New ParameterInitializerOperation(parameter, ImmutableArray(Of ILocalSymbol).Empty, value, _semanticModel, syntax, isImplicit)
1079Return New SwitchOperation(ImmutableArray(Of ILocalSymbol).Empty, value, cases, exitLabel, _semanticModel, syntax, isImplicit)
1113Return New SwitchCaseOperation(clauses, body, ImmutableArray(Of ILocalSymbol).Empty, condition, _semanticModel, syntax, isImplicit)
1145Dim locals As ImmutableArray(Of ILocalSymbol) = ImmutableArray(Of ILocalSymbol).Empty
1162ImmutableArray(Of IOperation).Empty,
1166ImmutableArray(Of ILocalSymbol).Empty)
1242ImmutableArray(Of IOperation).Empty,
1247ImmutableArray(Of ILocalSymbol).Empty)
1259New VariableDeclaratorOperation(localOpt, initializer:=Nothing, ignoredArguments:=ImmutableArray(Of IOperation).Empty, semanticModel:=_semanticModel, syntax:=controlVariable.Syntax, isImplicit:=boundForStatement.WasCompilerGenerated),
1277Return New VariableDeclaratorOperation(boundCatchBlock.LocalOpt, initializer:=Nothing, ignoredArguments:=ImmutableArray(Of IOperation).Empty, semanticModel:=_semanticModel, syntax:=boundCatchBlock.ExceptionSourceOpt.Syntax, isImplicit:=False)
1290ImmutableArray(Of ILocalSymbol).Empty)
1347Dim locals As ImmutableArray(Of ILocalSymbol) = ImmutableArray(Of ILocalSymbol).Empty
1612Dim arguments = ImmutableArray(Of IArgumentOperation).Empty
1671arguments:=ImmutableArray(Of IArgumentOperation).Empty,
Operations\VisualBasicOperationFactory_Methods.vb (11)
152Return OperationFactory.CreateInvalidOperation(_semanticModel, [operator].UnderlyingExpression.Syntax, ImmutableArray(Of IOperation).Empty, isImplicit)
177Return ImmutableArray(Of IArgumentOperation).Empty
179Return If(boundCreation.ConstructorOpt Is Nothing, ImmutableArray(Of IArgumentOperation).Empty, DeriveArguments(boundCreation.Arguments, boundCreation.ConstructorOpt.Parameters, boundCreation.DefaultArguments))
182Return If(boundProperty.Arguments.Length = 0, ImmutableArray(Of IArgumentOperation).Empty, DeriveArguments(boundProperty.Arguments, boundProperty.PropertySymbol.Parameters, boundProperty.DefaultArguments))
298Return OperationFactory.CreateInvalidOperation(_semanticModel, parent.Syntax, ImmutableArray(Of IOperation).Empty, isImplicit)
333ImmutableArray(Of IArgumentOperation).Empty,
432initializer = New VariableInitializerOperation(locals:=ImmutableArray(Of ILocalSymbol).Empty, value, _semanticModel, initializerSyntax, isImplicit)
441initializer = New VariableInitializerOperation(locals:=ImmutableArray(Of ILocalSymbol).Empty, value, _semanticModel, initializerSyntax, isImplicit:=False)
446ImmutableArray(Of IOperation).Empty,
460initializer = New VariableInitializerOperation(locals:=ImmutableArray(Of ILocalSymbol).Empty, initializerValue, _semanticModel, syntax, isImplicit:=True)
463Dim ignoredArguments = ImmutableArray(Of IOperation).Empty
Symbols\Source\SourceMethodSymbol.vb (13)
117handledEvents = ImmutableArray(Of HandledEvent).Empty
623Return ImmutableArray(Of MethodSymbol).Empty
841ImmutableArray(Of Location).Empty,
1199Return New BoundBlock(methodBlock, methodBlock.Statements, ImmutableArray(Of LocalSymbol).Empty, ImmutableArray.Create(boundStatement))
1268Return ImmutableArray(Of CustomModifier).Empty
1316Return ImmutableArray(Of CustomModifier).Empty
1581Return If(data IsNot Nothing, data.ConditionalSymbols, ImmutableArray(Of String).Empty)
2142fakeTypeParameters = ImmutableArray(Of TypeParameterSymbol).Empty
2150ImmutableArray(Of CustomModifier).Empty,
2151ImmutableArray(Of CustomModifier).Empty,
2166returnTypeCustomModifiers:=ImmutableArray(Of CustomModifier).Empty,
2167refCustomModifiers:=ImmutableArray(Of CustomModifier).Empty,
2168explicitInterfaceImplementations:=ImmutableArray(Of MethodSymbol).Empty,
Symbols\Source\SynthesizedMainTypeEntryPoint.vb (3)
61instance = binder.BindObjectCreationExpression(syntaxNode, container, ImmutableArray(Of BoundExpression).Empty, diagnostics)
79statement = New BoundBadStatement(syntaxNode, ImmutableArray(Of BoundNode).Empty, hasErrors:=True)
82Return New BoundBlock(syntaxNode, Nothing, ImmutableArray(Of LocalSymbol).Empty, ImmutableArray.Create(statement, New BoundReturnStatement(syntaxNode, Nothing, Nothing, Nothing)))
Symbols\Tuples\TupleTypeSymbol.vb (10)
202Return ImmutableArray(Of TypeParameterSymbol).Empty
218Return ImmutableArray(Of TypeSymbol).Empty
336Me.New(If((locationOpt Is Nothing), ImmutableArray(Of Location).Empty, ImmutableArray.Create(Of Location)(locationOpt)),
392Return TupleTypeSymbol.Create(ImmutableArray(Of Location).Empty, tupleCompatibleType, Nothing, Nothing, Nothing)
396Return TupleTypeSymbol.Create(ImmutableArray(Of Location).Empty, tupleCompatibleType, Nothing, elementNames, errorPositions:=Nothing)
403Return TupleTypeSymbol.Create(If((locationOpt Is Nothing), ImmutableArray(Of Location).Empty, ImmutableArray.Create(Of Location)(locationOpt)),
951Return ImmutableArray(Of NamedTypeSymbol).Empty
957Return ImmutableArray(Of NamedTypeSymbol).Empty
963Return ImmutableArray(Of NamedTypeSymbol).Empty
1030Return ImmutableArray(Of String).Empty
Symbols\TypeSubstitution.vb (6)
144Return New TypeWithModifiers(tp, ImmutableArray(Of CustomModifier).Empty)
151Return New TypeWithModifiers(tp, ImmutableArray(Of CustomModifier).Empty)
207Return ImmutableArray(Of CustomModifier).Empty
342Return Concat(sub1, targetGenericDefinition, ImmutableArray(Of KeyValuePair(Of TypeParameterSymbol, TypeWithModifiers)).Empty)
463currentParent = Concat(currentParent, targetGenericDefinition, ImmutableArray(Of KeyValuePair(Of TypeParameterSymbol, TypeWithModifiers)).Empty)
526Concat(parent, containingType, ImmutableArray(Of KeyValuePair(Of TypeParameterSymbol, TypeWithModifiers)).Empty))