11 instantiations of ImportRecord
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (10)
PDB\MethodDebugInfo.Native.cs (2)
365record = new ImportRecord( 607record = new ImportRecord(
PDB\MethodDebugInfo.Portable.cs (8)
322importGroupBuilder.Add(new ImportRecord( 328importGroupBuilder.Add(new ImportRecord( 335importGroupBuilder.Add(new ImportRecord( 341importGroupBuilder.Add(new ImportRecord( 348importGroupBuilder.Add(new ImportRecord( 360importGroupBuilder.Add(new ImportRecord( 367importGroupBuilder.Add(new ImportRecord( 375importGroupBuilder.Add(new ImportRecord(
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (1)
EvaluationContext.vb (1)
309Function(namespaceName) New ImportRecord(ImportTargetKind.Namespace,
39 references to ImportRecord
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (5)
CompilationContext.cs (5)
782ImmutableArray<ImmutableArray<ImportRecord>> importRecordGroups, 1013private static Imports BuildImports(CSharpCompilation compilation, ImmutableArray<ImportRecord> importRecords, InContainerBinder binder) 1017foreach (var importRecord in importRecords) 1056foreach (var importRecord in importRecords) 1187ImportRecord importRecord)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (24)
PDB\MethodDebugInfo.cs (3)
19ImmutableArray<ImmutableArray<ImportRecord>>.Empty, 37public readonly ImmutableArray<ImmutableArray<ImportRecord>> ImportRecordGroups; 50ImmutableArray<ImmutableArray<ImportRecord>> importRecordGroups,
PDB\MethodDebugInfo.Native.cs (14)
102ImmutableArray<ImmutableArray<ImportRecord>> importRecordGroups; 286out ImmutableArray<ImmutableArray<ImportRecord>> importRecordGroups, 300ArrayBuilder<ImmutableArray<ImportRecord>>? importRecordGroupBuilder = null; 304importRecordGroupBuilder = ArrayBuilder<ImmutableArray<ImportRecord>>.GetInstance(importStringGroups.Length); 307var groupBuilder = ArrayBuilder<ImportRecord>.GetInstance(importStringGroup.Length); 310if (TryCreateImportRecordFromCSharpImportString(symbolProvider, importString, out var record)) 349importRecordGroups = importRecordGroupBuilder?.ToImmutableAndFree() ?? ImmutableArray<ImmutableArray<ImportRecord>>.Empty; 353private static bool TryCreateImportRecordFromCSharpImportString(EESymbolProvider<TTypeSymbol, TLocalSymbol> symbolProvider, string importString, out ImportRecord record) 520out ImmutableArray<ImmutableArray<ImportRecord>> importRecordGroups, 523importRecordGroups = ImmutableArray<ImmutableArray<ImportRecord>>.Empty; 537var projectLevelImportRecords = ArrayBuilder<ImportRecord>.GetInstance(); 538var fileLevelImportRecords = ArrayBuilder<ImportRecord>.GetInstance(); 571ImportRecord importRecord; 600private static bool TryCreateImportRecordFromVisualBasicImportString(string importString, out ImportRecord record, out VBImportScopeKind scope)
PDB\MethodDebugInfo.Portable.cs (7)
28ImmutableArray<ImmutableArray<ImportRecord>> importGroups; 57importGroups = ImmutableArray<ImmutableArray<ImportRecord>>.Empty; 128out ImmutableArray<ImmutableArray<ImportRecord>> importGroups, 228var importGroupsBuilder = ArrayBuilder<ImmutableArray<ImportRecord>>.GetInstance(); 270ArrayBuilder<ImmutableArray<ImportRecord>> importGroupsBuilder, 273var importGroupBuilder = ArrayBuilder<ImportRecord>.GetInstance(); 314ArrayBuilder<ImportRecord> importGroupBuilder,
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler.Utilities (2)
MethodDebugInfoValidation.cs (2)
22internal static void Verify(this ImmutableArray<ImmutableArray<ImportRecord>> actual, string expected) 30private static string DisplayImport(ImportRecord record)
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (6)
CompilationContext.vb (5)
564importRecordGroups As ImmutableArray(Of ImmutableArray(Of ImportRecord))) As Binder 654importRecordGroups As ImmutableArray(Of ImmutableArray(Of ImportRecord))) As Binder 672For Each importRecord As ImportRecord In projectLevelImportRecords 685For Each importRecord As ImportRecord In fileLevelImportRecords 735importRecord As ImportRecord,
EvaluationContext.vb (1)
317Dim fileLevelImportRecords = ImmutableArray(Of ImportRecord).Empty
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler.UnitTests (2)
DteeTests.vb (2)
422Dim fileLevelImportRecords As ImmutableArray(Of ImportRecord) = importRecordGroups(0) 423Dim projectLevelImportRecords As ImmutableArray(Of ImportRecord) = importRecordGroups(1)