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,
3294foreach (Symbol member in ContainingType?.GetMembers(identifier) ?? ImmutableArray<Symbol>.Empty)
4121sizes: ImmutableArray<BoundExpression>.Empty, boundInitExprOpt: boundInitializerExpressions);
4486ImmutableArray<Symbol>.Empty,
4487ImmutableArray<BoundExpression>.Empty,
4525ImmutableArray<Symbol>.Empty,
4857symbols: ImmutableArray<Symbol>.Empty,
4868symbols: ImmutableArray<Symbol>.Empty, //CONSIDER: we could look for a matching constructor on System.ValueType
4911symbols: ImmutableArray<Symbol>.Empty, //CONSIDER: we could look for a matching constructor on System.ValueType
5079typeArgumentsWithAnnotations: ImmutableArray<TypeWithAnnotations>.Empty,
5232return new BoundBadExpression(syntax, LookupResultKind.Empty, ImmutableArray<Symbol?>.Empty, ImmutableArray<BoundExpression>.Empty, CreateErrorType());
5892ImmutableArray<BoundExpression> arguments = ImmutableArray<BoundExpression>.Empty;
6421return BadExpression(elementInitializer, LookupResultKind.NotInvocable, ImmutableArray<Symbol>.Empty, boundElementInitializerExpressions);
6461applicableMethods: ImmutableArray<MethodSymbol>.Empty,
7052return new BoundBadExpression(node, LookupResultKind.OverloadResolutionFailure, ImmutableArray<Symbol>.Empty, children, interfaceType);
8012lookupResult.Symbols.All(s => s.Kind == SymbolKind.Method) ? lookupResult.Symbols.SelectAsArray(s_toMethodSymbolFunc) : ImmutableArray<MethodSymbol>.Empty,
8082ReportQueryLookupFailed(node, boundLeft, plainName, ImmutableArray<Symbol>.Empty, diagnostics);
8192(object)symbolOpt == null ? ImmutableArray<Symbol>.Empty : ImmutableArray.Create(symbolOpt),
8193boundLeft == null ? ImmutableArray<BoundExpression>.Empty : ImmutableArray.Create(BindToTypeForErrorRecovery(boundLeft)),
8334boundDimensionsOpt: ImmutableArray<BoundExpression>.Empty,
9300return new BoundBadExpression(node, LookupResultKind.Empty, ImmutableArray<Symbol>.Empty, childBoundNodes, CreateErrorType(), hasErrors: true);
9321return BindDynamicIndexer(node, expr, arguments, ImmutableArray<PropertySymbol>.Empty, diagnostics);
9698ImmutableArray<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;
1853ImmutableArray<BoundExpression>.Empty);
2814declarations = ImmutableArray<BoundLocalDeclaration>.Empty;
2921return new BoundBadStatement(node, ImmutableArray<BoundNode>.Empty, hasErrors: true);
2932return new BoundBadStatement(node, ImmutableArray<BoundNode>.Empty, hasErrors: true);
3231return ImmutableArray<BoundCatchBlock>.Empty;
3712constructorLocals = ImmutableArray<LocalSymbol>.Empty;
3718blockBody: new BoundBlock(typeDecl, ImmutableArray<LocalSymbol>.Empty, ImmutableArray<BoundStatement>.Empty).MakeCompilerGenerated(),
3978arguments: ImmutableArray<BoundExpression>.Empty,
3979argumentNamesOpt: ImmutableArray<string?>.Empty,
3980argumentRefKindsOpt: ImmutableArray<RefKind>.Empty,
3984argsToParamsOpt: ImmutableArray<int>.Empty,
4057return ImmutableArray<LocalSymbol>.Empty;
4065return ImmutableArray<LocalFunctionSymbol>.Empty;
4073return 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);
523: this(syntax, aliasOpt, boundContainingTypeOpt, ImmutableArray<BoundExpression>.Empty, typeWithAnnotations, hasErrors)
629: this(syntax, locals, ImmutableArray<LocalFunctionSymbol>.Empty, hasUnsafeModifier: false, instrumentation: null, statements, hasErrors)
635return new BoundBlock(syntax, ImmutableArray<LocalSymbol>.Empty, ImmutableArray.Create(statement))
641return new BoundBlock(syntax, ImmutableArray<LocalSymbol>.Empty, statements) { WasCompilerGenerated = true };
646return 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)
309ImmutableArray<EncLambdaInfo>.Empty,
310ImmutableArray<LambdaRuntimeRudeEditInfo>.Empty,
311ImmutableArray<EncClosureInfo>.Empty,
312ImmutableArray<StateMachineStateDebugInfo>.Empty,
319codeCoverageSpans: ImmutableArray<SourceSpan>.Empty,
639var processedInitializers = new Binder.ProcessedFieldInitializers() { BoundInitializers = ImmutableArray<BoundInitializer>.Empty };
769ImmutableArray<EncLambdaInfo>.Empty,
770ImmutableArray<LambdaRuntimeRudeEditInfo>.Empty,
771ImmutableArray<EncClosureInfo>.Empty,
779codeCoverageSpans: ImmutableArray<SourceSpan>.Empty,
904sourceMethod.SetDiagnostics(ImmutableArray<Diagnostic>.Empty, out diagsWritten);
965body = new BoundBlock(methodSymbol.GetNonNullSyntaxNode(), ImmutableArray<LocalSymbol>.Empty, ImmutableArray<BoundStatement>.Empty) { WasCompilerGenerated = true };
1008new BoundBlock(analyzedInitializers.Syntax, ImmutableArray<LocalSymbol>.Empty, analyzedInitializers.Statements), // The block is necessary to establish the right local scope for the analysis
1202codeCoverageSpans = ImmutableArray<SourceSpan>.Empty;
1226boundStatements = ImmutableArray<BoundStatement>.Empty;
1388codeCoverageSpans = ImmutableArray<SourceSpan>.Empty;
1480codeCoverageSpans = ImmutableArray<SourceSpan>.Empty;
1955statements = ImmutableArray<BoundStatement>.Empty;
Emitter\Model\PEAssemblyBuilder.cs (19)
208ImmutableArray<TypedConstant>.Empty,
209ImmutableArray<KeyValuePair<string, TypedConstant>>.Empty);
221ImmutableArray<KeyValuePair<string, TypedConstant>>.Empty);
235ImmutableArray<KeyValuePair<string, TypedConstant>>.Empty);
249ImmutableArray<KeyValuePair<string, TypedConstant>>.Empty);
264ImmutableArray<KeyValuePair<string, TypedConstant>>.Empty);
277ImmutableArray<TypedConstant>.Empty,
278ImmutableArray<KeyValuePair<string, TypedConstant>>.Empty);
292ImmutableArray<KeyValuePair<string, TypedConstant>>.Empty);
305ImmutableArray<TypedConstant>.Empty,
306ImmutableArray<KeyValuePair<string, TypedConstant>>.Empty);
319ImmutableArray<TypedConstant>.Empty,
320ImmutableArray<KeyValuePair<string, TypedConstant>>.Empty);
333ImmutableArray<TypedConstant>.Empty,
334ImmutableArray<KeyValuePair<string, TypedConstant>>.Empty);
347ImmutableArray<TypedConstant>.Empty,
348ImmutableArray<KeyValuePair<string, TypedConstant>>.Empty);
361ImmutableArray<TypedConstant>.Empty,
362ImmutableArray<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,
5586_ => ImmutableArray<NamedTypeSymbol>.Empty,
7299return ImmutableArray<VisitResult>.Empty;
8937_ => (null, ImmutableArray<ParameterSymbol>.Empty),
12107VisitArguments(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)
241return new BoundBadExpression(Syntax, LookupResultKind.Empty, ImmutableArray<Symbol?>.Empty, ImmutableArray<BoundExpression>.Empty, type, hasErrors: true);
453return Block(ImmutableArray<BoundStatement>.Empty);
458return Block(ImmutableArray<LocalSymbol>.Empty, statements);
493return StatementList(ImmutableArray<BoundStatement>.Empty);
541statements.Add(Try(Block(statement), ImmutableArray<BoundCatchBlock>.Empty, Block(instrumentation.Epilogue)));
797return new BoundBadExpression(Syntax, default(LookupResultKind), ImmutableArray<Symbol?>.Empty, args.AsImmutable(), receiver);
834return Call(receiver, method, ImmutableArray<BoundExpression>.Empty);
898argsToParamsOpt: ImmutableArray<int>.Empty, defaultArguments: default(BitVector), resultKind: LookupResultKind.Viable, type: method.ReturnType)
924return If(condition, ImmutableArray<LocalSymbol>.Empty, thenClause, elseClauseOpt);
1000return MakeSequence(ImmutableArray<LocalSymbol>.Empty, parts);
1029return new BoundSequence(Syntax, ImmutableArray<LocalSymbol>.Empty, sideEffects.AsImmutableOrNull(), result, resultType) { WasCompilerGenerated = true };
1610return new BoundCatchBlock(Syntax, ImmutableArray<LocalSymbol>.Empty, source, source.Type, exceptionFilterPrologueOpt: null, exceptionFilterOpt: null, body: block, isSynthesizedAsyncCatchAll: false);
1615return new BoundTryStatement(Syntax, tryBlock, ImmutableArray<BoundCatchBlock>.Empty, faultBlock, finallyLabelOpt: null, preferFaultHandler: true);
1852locals: 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;
3190return ImmutableArray<ImmutableArray<FieldOrPropertyInitializer>>.Empty;
3364return ImmutableArray<SynthesizedSimpleProgramEntryPointSymbol>.Empty;
3388return ImmutableArray<SynthesizedSimpleProgramEntryPointSymbol>.Empty;
4498ImmutableArray<TypeParameterSymbol>.Empty,
4500ImmutableArray<CustomModifier>.Empty,
4509ImmutableArray<CustomModifier>.Empty,
4510ImmutableArray<MethodSymbol>.Empty);
4545ImmutableArray<TypeParameterSymbol>.Empty,
4548ImmutableArray<CustomModifier>.Empty,
4557ImmutableArray<CustomModifier>.Empty,
4558ImmutableArray<MethodSymbol>.Empty);
4594ImmutableArray<TypeParameterSymbol>.Empty,
4597ImmutableArray<CustomModifier>.Empty,
4605refCustomModifiers: ImmutableArray<CustomModifier>.Empty,
4606explicitInterfaceImplementations: ImmutableArray<MethodSymbol>.Empty);
4654ImmutableArray<TypeParameterSymbol>.Empty,
4655ImmutableArray<ParameterSymbol>.Empty,
4660refCustomModifiers: ImmutableArray<CustomModifier>.Empty,
4661explicitInterfaceImplementations: ImmutableArray<MethodSymbol>.Empty);
4734ImmutableArray<ParameterSymbol>.Empty,
4737ImmutableArray<CustomModifier>.Empty,
4739ImmutableArray<PropertySymbol>.Empty);
4828ImmutableArray<TypeParameterSymbol>.Empty,
4829ImmutableArray<ParameterSymbol>.Empty,
4834ImmutableArray<CustomModifier>.Empty,
4835ImmutableArray<MethodSymbol>.Empty);
4860ImmutableArray<ParameterSymbol>.Empty,
4863ImmutableArray<CustomModifier>.Empty,
4865ImmutableArray<PropertySymbol>.Empty);
4921ImmutableArray<TypeParameterSymbol>.Empty,
4924ImmutableArray<CustomModifier>.Empty,
4933ImmutableArray<CustomModifier>.Empty,
4934ImmutableArray<MethodSymbol>.Empty);
5635public static readonly SynthesizedExplicitImplementations Empty = new SynthesizedExplicitImplementations(ImmutableArray<SynthesizedExplicitImplementationForwardingMethod>.Empty,
5636ImmutableArray<(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)
344Return ImmutableArray(Of IOperation).Empty
672Dim children As ImmutableArray(Of IOperation) = ImmutableArray(Of IOperation).Empty
971Dim typeArguments As ImmutableArray(Of ITypeSymbol) = ImmutableArray(Of ITypeSymbol).Empty
996Return New FieldInitializerOperation(initializedFields, ImmutableArray(Of ILocalSymbol).Empty, value, _semanticModel, syntax, isImplicit)
1004Return New PropertyInitializerOperation(initializedProperties, ImmutableArray(Of ILocalSymbol).Empty, value, _semanticModel, syntax, isImplicit)
1012Return New ParameterInitializerOperation(parameter, ImmutableArray(Of ILocalSymbol).Empty, value, _semanticModel, syntax, isImplicit)
1080Return New SwitchOperation(ImmutableArray(Of ILocalSymbol).Empty, value, cases, exitLabel, _semanticModel, syntax, isImplicit)
1114Return New SwitchCaseOperation(clauses, body, ImmutableArray(Of ILocalSymbol).Empty, condition, _semanticModel, syntax, isImplicit)
1146Dim locals As ImmutableArray(Of ILocalSymbol) = ImmutableArray(Of ILocalSymbol).Empty
1163ImmutableArray(Of IOperation).Empty,
1167ImmutableArray(Of ILocalSymbol).Empty)
1243ImmutableArray(Of IOperation).Empty,
1248ImmutableArray(Of ILocalSymbol).Empty)
1260New VariableDeclaratorOperation(localOpt, initializer:=Nothing, ignoredArguments:=ImmutableArray(Of IOperation).Empty, semanticModel:=_semanticModel, syntax:=controlVariable.Syntax, isImplicit:=boundForStatement.WasCompilerGenerated),
1278Return New VariableDeclaratorOperation(boundCatchBlock.LocalOpt, initializer:=Nothing, ignoredArguments:=ImmutableArray(Of IOperation).Empty, semanticModel:=_semanticModel, syntax:=boundCatchBlock.ExceptionSourceOpt.Syntax, isImplicit:=False)
1291ImmutableArray(Of ILocalSymbol).Empty)
1348Dim locals As ImmutableArray(Of ILocalSymbol) = ImmutableArray(Of ILocalSymbol).Empty
1613Dim arguments = ImmutableArray(Of IArgumentOperation).Empty
1672arguments:=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)
208Return ImmutableArray(Of TypeParameterSymbol).Empty
224Return ImmutableArray(Of TypeSymbol).Empty
342Me.New(If((locationOpt Is Nothing), ImmutableArray(Of Location).Empty, ImmutableArray.Create(Of Location)(locationOpt)),
398Return TupleTypeSymbol.Create(ImmutableArray(Of Location).Empty, tupleCompatibleType, Nothing, Nothing, Nothing)
402Return TupleTypeSymbol.Create(ImmutableArray(Of Location).Empty, tupleCompatibleType, Nothing, elementNames, errorPositions:=Nothing)
409Return TupleTypeSymbol.Create(If((locationOpt Is Nothing), ImmutableArray(Of Location).Empty, ImmutableArray.Create(Of Location)(locationOpt)),
957Return ImmutableArray(Of NamedTypeSymbol).Empty
963Return ImmutableArray(Of NamedTypeSymbol).Empty
969Return ImmutableArray(Of NamedTypeSymbol).Empty
1036Return 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))