2 types derived from BoundInitializer
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
289
internal abstract partial class BoundEqualsValue :
BoundInitializer
396
internal sealed partial class BoundGlobalStatementInitializer :
BoundInitializer
16 references to BoundInitializer
Microsoft.CodeAnalysis.CSharp (16)
Binder\Binder_Initializers.cs (8)
19
internal ImmutableArray<
BoundInitializer
> BoundInitializers { get; set; }
41
internal static ImmutableArray<
BoundInitializer
> BindFieldInitializers(
51
return ImmutableArray<
BoundInitializer
>.Empty;
54
var boundInitializers = ArrayBuilder<
BoundInitializer
>.GetInstance();
73
ArrayBuilder<
BoundInitializer
> boundInitializers,
165
ArrayBuilder<
BoundInitializer
> boundInitializers,
219
BoundInitializer
boundInitializer;
243
private static
BoundInitializer
BindGlobalStatement(
Compiler\MethodCompiler.cs (1)
638
var processedInitializers = new Binder.ProcessedFieldInitializers() { BoundInitializers = ImmutableArray<
BoundInitializer
>.Empty };
Lowering\InitializerRewriter.cs (4)
19
internal static BoundTypeOrInstanceInitializers RewriteConstructor(ImmutableArray<
BoundInitializer
> boundInitializers, MethodSymbol method)
29
internal static BoundTypeOrInstanceInitializers RewriteScriptInitializer(ImmutableArray<
BoundInitializer
> boundInitializers, SynthesizedInteractiveInitializerMethod method, out bool hasTrailingExpression)
39
foreach (
var
initializer in boundInitializers)
119
private static BoundStatement RewriteInitializersAsStatements(
BoundInitializer
initializer)
Symbols\Synthesized\SynthesizedStaticConstructor.cs (3)
384
internal bool ShouldEmit(ImmutableArray<
BoundInitializer
> boundInitializersOpt = default)
396
private bool CalculateShouldEmit(ImmutableArray<
BoundInitializer
> boundInitializersOpt = default)
414
foreach (
var
initializer in boundInitializersOpt)