194 references to EmptyEnumerable
Microsoft.CodeAnalysis (64)
CodeGen\ArrayMembers.cs (1)
354=> SpecializedCollections.EmptyEnumerable<Cci.ICustomAttribute>();
CodeGen\PrivateImplementationDetails.cs (12)
331return SpecializedCollections.EmptyEnumerable<Cci.ICustomAttribute>(); 519=> SpecializedCollections.EmptyEnumerable<Cci.ICustomAttribute>(); 623=> SpecializedCollections.EmptyEnumerable<Cci.IEventDefinition>(); 626=> SpecializedCollections.EmptyEnumerable<Cci.MethodImplementation>(); 629=> SpecializedCollections.EmptyEnumerable<Cci.IFieldDefinition>(); 632=> SpecializedCollections.EmptyEnumerable<Cci.IGenericTypeParameter>(); 639=> SpecializedCollections.EmptyEnumerable<Cci.TypeReferenceWithAttributes>(); 664=> SpecializedCollections.EmptyEnumerable<Cci.IMethodDefinition>(); 667=> SpecializedCollections.EmptyEnumerable<Cci.INestedTypeDefinition>(); 670=> SpecializedCollections.EmptyEnumerable<Cci.IPropertyDefinition>(); 673=> SpecializedCollections.EmptyEnumerable<Cci.SecurityAttribute>(); 678=> SpecializedCollections.EmptyEnumerable<Cci.ICustomAttribute>();
CommandLine\CommandLineParser.cs (1)
61return SpecializedCollections.EmptyEnumerable<string>();
Compilation\Compilation.cs (1)
838return CommonWithReferences(SpecializedCollections.EmptyEnumerable<MetadataReference>());
Diagnostic\DiagnosticBag.cs (1)
258return _lazyBag ?? SpecializedCollections.EmptyEnumerable<Diagnostic>();
DiagnosticAnalyzer\AnalysisScope.cs (2)
77: this(filterFile.SourceTree != null ? SpecializedCollections.SingletonEnumerable(filterFile.SourceTree) : SpecializedCollections.EmptyEnumerable<SyntaxTree>(), 78filterFile.AdditionalFile != null ? SpecializedCollections.SingletonEnumerable(filterFile.AdditionalFile) : SpecializedCollections.EmptyEnumerable<AdditionalText>(),
DiagnosticAnalyzer\AnalyzerFileReference.cs (3)
264return result ?? SpecializedCollections.EmptyEnumerable<string>(); 305return SpecializedCollections.EmptyEnumerable<string>(); 320return SpecializedCollections.EmptyEnumerable<string>();
Emit\CommonPEModuleBuilder.cs (2)
44private IEnumerable<EmbeddedText> _embeddedTexts = SpecializedCollections.EmptyEnumerable<EmbeddedText>(); 264IEnumerable<Cci.ICustomAttribute> Cci.IReference.GetAttributes(EmitContext context) => SpecializedCollections.EmptyEnumerable<Cci.ICustomAttribute>();
Emit\ErrorType.cs (2)
170return SpecializedCollections.EmptyEnumerable<Cci.ICustomAttribute>(); 234return SpecializedCollections.EmptyEnumerable<Cci.ICustomAttribute>();
Emit\NoPia\CommonEmbeddedMethod.cs (2)
220return SpecializedCollections.EmptyEnumerable<Cci.ICustomAttribute>(); 230SpecializedCollections.EmptyEnumerable<Cci.SecurityAttribute>();
Emit\NoPia\CommonEmbeddedType.cs (4)
268return SpecializedCollections.EmptyEnumerable<Cci.MethodImplementation>(); 299return SpecializedCollections.EmptyEnumerable<Cci.IGenericTypeParameter>(); 487return SpecializedCollections.EmptyEnumerable<Cci.INestedTypeDefinition>(); 519return SpecializedCollections.EmptyEnumerable<Cci.SecurityAttribute>();
Emit\NoPia\CommonEmbeddedTypeParameter.cs (1)
194return SpecializedCollections.EmptyEnumerable<Cci.ICustomAttribute>();
Emit\NoPia\VtblGap.cs (4)
31get { return SpecializedCollections.EmptyEnumerable<Cci.IGenericMethodParameter>(); } 121return SpecializedCollections.EmptyEnumerable<Cci.ICustomAttribute>(); 141get { return SpecializedCollections.EmptyEnumerable<Cci.SecurityAttribute>(); } 170return SpecializedCollections.EmptyEnumerable<Cci.ICustomAttribute>();
InternalUtilities\EnumerableExtensions.cs (1)
292return SpecializedCollections.EmptyEnumerable<T>();
MetadataReader\PEAssembly.cs (1)
169return result ?? SpecializedCollections.EmptyEnumerable<ImmutableArray<byte>>();
MetadataReader\PEModule.cs (1)
670result.Add(new Grouping<string, TypeDefinitionHandle>(pair.Key, pair.Value ?? SpecializedCollections.EmptyEnumerable<TypeDefinitionHandle>()));
PEWriter\ManagedResource.cs (1)
91get { return SpecializedCollections.EmptyEnumerable<ICustomAttribute>(); }
PEWriter\ModifiedTypeReference.cs (1)
72return SpecializedCollections.EmptyEnumerable<ICustomAttribute>();
PEWriter\RootModuleStaticConstructor.cs (3)
34public IEnumerable<IGenericMethodParameter> GenericParameters => SpecializedCollections.EmptyEnumerable<IGenericMethodParameter>(); 110public IEnumerable<ICustomAttribute> GetAttributes(EmitContext context) => SpecializedCollections.EmptyEnumerable<ICustomAttribute>(); 120public IEnumerable<ICustomAttribute> GetReturnValueAttributes(EmitContext context) => SpecializedCollections.EmptyEnumerable<ICustomAttribute>();
PEWriter\RootModuleType.cs (7)
53return SpecializedCollections.EmptyEnumerable<ICustomAttribute>(); 83return SpecializedCollections.EmptyEnumerable<IEventDefinition>(); 88return SpecializedCollections.EmptyEnumerable<MethodImplementation>(); 93return SpecializedCollections.EmptyEnumerable<IFieldDefinition>(); 103return SpecializedCollections.EmptyEnumerable<Cci.TypeReferenceWithAttributes>(); 168return SpecializedCollections.EmptyEnumerable<INestedTypeDefinition>(); 173return SpecializedCollections.EmptyEnumerable<IPropertyDefinition>();
Syntax\GreenNode.cs (1)
42private static readonly IEnumerable<SyntaxAnnotation> s_noAnnotationsEnumerable = SpecializedCollections.EmptyEnumerable<SyntaxAnnotation>();
Syntax\SyntaxNode.cs (1)
800SpecializedCollections.EmptyEnumerable<SyntaxNode>();
Syntax\SyntaxNodeOrToken.cs (3)
477return SpecializedCollections.EmptyEnumerable<Diagnostic>(); 592return SpecializedCollections.EmptyEnumerable<SyntaxAnnotation>(); 610return SpecializedCollections.EmptyEnumerable<SyntaxAnnotation>();
Syntax\SyntaxToken.cs (5)
273return Node?.GetAnnotations(annotationKind) ?? SpecializedCollections.EmptyEnumerable<SyntaxAnnotation>(); 289return Node?.GetAnnotations(annotationKinds) ?? SpecializedCollections.EmptyEnumerable<SyntaxAnnotation>(); 532return SpecializedCollections.EmptyEnumerable<SyntaxTrivia>(); 663return SpecializedCollections.EmptyEnumerable<Diagnostic>(); 673? SpecializedCollections.EmptyEnumerable<Diagnostic>()
Syntax\SyntaxTrivia.cs (2)
181: SpecializedCollections.EmptyEnumerable<SyntaxAnnotation>(); 191: SpecializedCollections.EmptyEnumerable<SyntaxAnnotation>();
TreeDumper.cs (1)
242this.Children = children ?? SpecializedCollections.EmptyEnumerable<TreeDumperNode>();
Microsoft.CodeAnalysis.CSharp (48)
Compilation\CSharpCompilation.cs (2)
366(syntaxTree != null) ? new[] { syntaxTree } : SpecializedCollections.EmptyEnumerable<SyntaxTree>(), 3145manifestResources = SpecializedCollections.EmptyEnumerable<ResourceDescription>();
CSharpDeclarationComputer.cs (2)
348SpecializedCollections.EmptyEnumerable<SyntaxNode>(); 356SpecializedCollections.EmptyEnumerable<SyntaxNode>();
Emitter\EditAndContinue\EmitHelpers.cs (1)
38var manifestResources = SpecializedCollections.EmptyEnumerable<ResourceDescription>();
Emitter\Model\AssemblyReference.cs (1)
50return SpecializedCollections.EmptyEnumerable<Cci.ICustomAttribute>();
Emitter\Model\FunctionPointerTypeSymbolAdapter.cs (1)
54IEnumerable<ICustomAttribute> IReference.GetAttributes(EmitContext context) => SpecializedCollections.EmptyEnumerable<ICustomAttribute>();
Emitter\Model\ModuleReference.cs (1)
83return SpecializedCollections.EmptyEnumerable<Cci.ICustomAttribute>();
Emitter\Model\NamedTypeReference.cs (1)
156return SpecializedCollections.EmptyEnumerable<Cci.ICustomAttribute>();
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
704return AdaptedNamedTypeSymbol.GetSecurityInformation() ?? SpecializedCollections.EmptyEnumerable<Cci.SecurityAttribute>();
Emitter\Model\PEModuleBuilder.cs (2)
142public sealed override IEnumerable<string> LinkedAssembliesDebugInfo => SpecializedCollections.EmptyEnumerable<string>(); 529return SpecializedCollections.EmptyEnumerable<Cci.INamespaceTypeDefinition>();
Emitter\Model\PENetModuleBuilder.cs (1)
41public override IEnumerable<Cci.IFileReference> GetFiles(EmitContext context) => SpecializedCollections.EmptyEnumerable<Cci.IFileReference>();
Emitter\Model\SymbolAdapter.cs (1)
122return SpecializedCollections.EmptyEnumerable<CSharpAttributeData>();
Emitter\Model\TypeMemberReference.cs (1)
41return SpecializedCollections.EmptyEnumerable<Cci.ICustomAttribute>();
FlowAnalysis\AlwaysAssignedWalker.cs (1)
39return badRegion ? SpecializedCollections.EmptyEnumerable<Symbol>() : result;
FlowAnalysis\EmptyStructTypeCache.cs (1)
173return SpecializedCollections.EmptyEnumerable<FieldSymbol>();
FlowAnalysis\EntryPointsWalker.cs (1)
32return badRegion ? SpecializedCollections.EmptyEnumerable<LabeledStatementSyntax>() : result;
FlowAnalysis\VariablesDeclaredWalker.cs (1)
29return badRegion ? SpecializedCollections.EmptyEnumerable<Symbol>() : walker._variablesDeclared;
Lowering\ClosureConversion\SynthesizedClosureEnvironment.cs (1)
127: SpecializedCollections.EmptyEnumerable<FieldSymbol>();
Lowering\SynthesizedMethodBaseSymbol.cs (1)
195: SpecializedCollections.EmptyEnumerable<SecurityAttribute>();
SymbolDisplay\SymbolDisplayVisitor_Minimal.cs (1)
293? SpecializedCollections.EmptyEnumerable<T>()
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
279return SpecializedCollections.EmptyEnumerable<(MethodSymbol Body, MethodSymbol Implemented)>();
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.DelegateTemplateSymbol.cs (1)
223internal override IEnumerable<FieldSymbol> GetFieldsToEmit() => SpecializedCollections.EmptyEnumerable<FieldSymbol>();
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
319return SpecializedCollections.EmptyEnumerable<(MethodSymbol Body, MethodSymbol Implemented)>();
Symbols\ArrayTypeSymbol.cs (1)
488return SpecializedCollections.EmptyEnumerable<(MethodSymbol Body, MethodSymbol Implemented)>();
Symbols\DynamicTypeSymbol.cs (1)
254return SpecializedCollections.EmptyEnumerable<(MethodSymbol Body, MethodSymbol Implemented)>();
Symbols\ErrorTypeSymbol.cs (2)
129return SpecializedCollections.EmptyEnumerable<string>(); 556return SpecializedCollections.EmptyEnumerable<(MethodSymbol Body, MethodSymbol Implemented)>();
Symbols\FunctionPointers\FunctionPointerTypeSymbol.cs (1)
222return SpecializedCollections.EmptyEnumerable<(MethodSymbol Body, MethodSymbol Implemented)>();
Symbols\Metadata\PE\PEGlobalNamespaceSymbol.cs (1)
94groups = SpecializedCollections.EmptyEnumerable<IGrouping<string, TypeDefinitionHandle>>();
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
2445return SpecializedCollections.EmptyEnumerable<(MethodSymbol Body, MethodSymbol Implemented)>();
Symbols\MissingAssemblySymbol.cs (2)
190return SpecializedCollections.EmptyEnumerable<ImmutableArray<byte>>(); 205return SpecializedCollections.EmptyEnumerable<NamedTypeSymbol>();
Symbols\NamespaceOrTypeSymbol.cs (1)
388return SpecializedCollections.EmptyEnumerable<NamespaceOrTypeSymbol>();
Symbols\NativeIntegerTypeSymbol.cs (1)
275return SpecializedCollections.EmptyEnumerable<(MethodSymbol Body, MethodSymbol Implemented)>();
Symbols\PointerTypeSymbol.cs (1)
316return SpecializedCollections.EmptyEnumerable<(MethodSymbol Body, MethodSymbol Implemented)>();
Symbols\Source\SourceAssemblySymbol.cs (2)
2113return SpecializedCollections.EmptyEnumerable<ImmutableArray<byte>>(); 2119return (result != null) ? result.Keys : SpecializedCollections.EmptyEnumerable<ImmutableArray<byte>>();
Symbols\Source\SourceMethodSymbolWithAttributes.cs (1)
1273return SpecializedCollections.EmptyEnumerable<Cci.SecurityAttribute>();
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (1)
80return SpecializedCollections.EmptyEnumerable<FieldSymbol>();
Symbols\Synthesized\SynthesizedContainer.cs (2)
90public override IEnumerable<string> MemberNames => SpecializedCollections.EmptyEnumerable<string>(); 207return SpecializedCollections.EmptyEnumerable<(MethodSymbol Body, MethodSymbol Implemented)>();
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (2)
156internal override IEnumerable<FieldSymbol> GetFieldsToEmit() => SpecializedCollections.EmptyEnumerable<FieldSymbol>(); 195return SpecializedCollections.EmptyEnumerable<(MethodSymbol Body, MethodSymbol Implemented)>();
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (1)
165return SpecializedCollections.EmptyEnumerable<Cci.SecurityAttribute>();
Symbols\TypeParameterSymbol.cs (1)
712return SpecializedCollections.EmptyEnumerable<(MethodSymbol Body, MethodSymbol Implemented)>();
Syntax\CSharpSyntaxTree.cs (1)
805return SpecializedCollections.EmptyEnumerable<Diagnostic>();
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
CommandLineTests.cs (1)
3807var parsedArgs = DefaultParse(SpecializedCollections.EmptyEnumerable<string>(), WorkingDirectory);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
Emit\CompilationEmitTests.cs (1)
2724OutputKind.DynamicallyLinkedLibrary, GetDefaultModulePropertiesForSerialization(), SpecializedCollections.EmptyEnumerable<ResourceDescription>());
Emit\EmitMetadataTests.cs (1)
1414GetDefaultModulePropertiesForSerialization(), SpecializedCollections.EmptyEnumerable<ResourceDescription>());
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (3)
EEAssemblyBuilder.cs (1)
38manifestResources: SpecializedCollections.EmptyEnumerable<ResourceDescription>(),
Symbols\EENamedTypeSymbol.cs (2)
107return SpecializedCollections.EmptyEnumerable<FieldSymbol>(); 373return SpecializedCollections.EmptyEnumerable<(MethodSymbol Body, MethodSymbol Implemented)>();
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (11)
Symbols\IndexerTests.cs (1)
2537SpecializedCollections.EmptyEnumerable<ElementAccessExpressionSyntax>() :
Symbols\MockNamedTypeSymbol.cs (1)
338return SpecializedCollections.EmptyEnumerable<(MethodSymbol Body, MethodSymbol Implemented)>();
Symbols\Source\BaseClassTests.cs (1)
1575GetDefaultModulePropertiesForSerialization(), SpecializedCollections.EmptyEnumerable<ResourceDescription>());
Symbols\Source\MethodTests.cs (6)
1683GetDefaultModulePropertiesForSerialization(), SpecializedCollections.EmptyEnumerable<ResourceDescription>()); 1727GetDefaultModulePropertiesForSerialization(), SpecializedCollections.EmptyEnumerable<ResourceDescription>()); 1774GetDefaultModulePropertiesForSerialization(), SpecializedCollections.EmptyEnumerable<ResourceDescription>()); 1828GetDefaultModulePropertiesForSerialization(), SpecializedCollections.EmptyEnumerable<ResourceDescription>()); 1969GetDefaultModulePropertiesForSerialization(), SpecializedCollections.EmptyEnumerable<ResourceDescription>()); 2013GetDefaultModulePropertiesForSerialization(), SpecializedCollections.EmptyEnumerable<ResourceDescription>());
Symbols\Source\PropertyTests.cs (2)
2506GetDefaultModulePropertiesForSerialization(), SpecializedCollections.EmptyEnumerable<ResourceDescription>()); 2544GetDefaultModulePropertiesForSerialization(), SpecializedCollections.EmptyEnumerable<ResourceDescription>());
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (2)
AssemblyReference.cs (1)
43return SpecializedCollections.EmptyEnumerable<ICustomAttribute>();
DkmUtilities.cs (1)
33return SpecializedCollections.EmptyEnumerable<DkmClrModuleInstance>();
Microsoft.CodeAnalysis.Scripting (2)
ClrGlobalAssemblyCache.cs (1)
99return SpecializedCollections.EmptyEnumerable<AssemblyIdentity>();
MonoGlobalAssemblyCache.cs (1)
153return SpecializedCollections.EmptyEnumerable<AssemblyIdentity>();
Microsoft.CodeAnalysis.VisualBasic (52)
Analysis\FlowAnalysis\AlwaysAssignedWalker.vb (1)
28Return If(result, walker.AlwaysAssigned, SpecializedCollections.EmptyEnumerable(Of Symbol)())
Analysis\FlowAnalysis\EntryPointsWalker.vb (1)
25Return If(succeeded, walker._entryPoints, SpecializedCollections.EmptyEnumerable(Of LabelStatementSyntax)())
Analysis\FlowAnalysis\ExitPointsWalker.vb (1)
24Return If(walker.Analyze(), walker._branchesOutOf.ToImmutable(), SpecializedCollections.EmptyEnumerable(Of StatementSyntax)())
Analysis\FlowAnalysis\VariablesDeclaredWalker.vb (1)
20Return If(walker.Analyze(), walker._variablesDeclared, SpecializedCollections.EmptyEnumerable(Of Symbol)())
CommandLine\VisualBasicCommandLineParser.vb (2)
1666Return SpecializedCollections.EmptyEnumerable(Of CommandLineReference)() 1677Return SpecializedCollections.EmptyEnumerable(Of CommandLineAnalyzerReference)()
Compilation\VisualBasicCompilation.vb (2)
357If((syntaxTree IsNot Nothing), {syntaxTree}, SpecializedCollections.EmptyEnumerable(Of SyntaxTree)()), 2398manifestResources = SpecializedCollections.EmptyEnumerable(Of ResourceDescription)()
Emit\AssemblyReference.vb (1)
53Return SpecializedCollections.EmptyEnumerable(Of Cci.ICustomAttribute)()
Emit\EditAndContinue\EmitHelpers.vb (1)
35Dim manifestResources = SpecializedCollections.EmptyEnumerable(Of ResourceDescription)()
Emit\EditAndContinue\PEDeltaAssemblyBuilder.vb (1)
304Return SpecializedCollections.EmptyEnumerable(Of String)()
Emit\ModuleReference.vb (1)
66Return SpecializedCollections.EmptyEnumerable(Of Cci.ICustomAttribute)()
Emit\NamedTypeReference.vb (1)
111Return SpecializedCollections.EmptyEnumerable(Of Cci.ICustomAttribute)()
Emit\NamedTypeSymbolAdapter.vb (3)
268Return SpecializedCollections.EmptyEnumerable(Of Cci.MethodImplementation)() 663result = SpecializedCollections.EmptyEnumerable(Of INestedTypeDefinition)() 930Return If(synthesized, SpecializedCollections.EmptyEnumerable(Of NamedTypeSymbol)())
Emit\PEModuleBuilder.vb (1)
345Return SpecializedCollections.EmptyEnumerable(Of Cci.INamespaceTypeDefinition)
Emit\PENetModuleBuilder.vb (1)
48Return SpecializedCollections.EmptyEnumerable(Of Cci.IFileReference)()
Emit\SymbolAdapter.vb (1)
97Return SpecializedCollections.EmptyEnumerable(Of VisualBasicAttributeData)()
Emit\TypeMemberReference.vb (1)
30Return SpecializedCollections.EmptyEnumerable(Of Cci.ICustomAttribute)()
Lowering\LambdaRewriter\LambdaFrame.vb (1)
203Return SpecializedCollections.EmptyEnumerable(Of String)()
Lowering\StateMachineRewriter\SynthesizedContainer.vb (2)
235Return SpecializedCollections.EmptyEnumerable(Of FieldSymbol)() 322Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)()
Symbols\AnonymousTypes\PublicSymbols\AnonymousTypeOrDelegatePublicSymbol.vb (1)
313Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)()
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousDelegate_TemplateSymbol.vb (1)
136Return SpecializedCollections.EmptyEnumerable(Of FieldSymbol)()
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousTypeOrDelegateTemplateSymbol.vb (1)
381Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)()
Symbols\ErrorMethodSymbol.vb (1)
75Return SpecializedCollections.EmptyEnumerable(Of Microsoft.Cci.SecurityAttribute)()
Symbols\ErrorTypeSymbol.vb (3)
75Return SpecializedCollections.EmptyEnumerable(Of String)() 100Return SpecializedCollections.EmptyEnumerable(Of FieldSymbol)() 406Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)()
Symbols\Metadata\PE\PEGlobalNamespaceSymbol.vb (1)
70groups = SpecializedCollections.EmptyEnumerable(Of IGrouping(Of String, TypeDefinitionHandle))()
Symbols\Metadata\PE\PENamedTypeSymbol.vb (1)
1557Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)()
Symbols\MissingAssemblySymbol.vb (2)
120Return SpecializedCollections.EmptyEnumerable(Of ImmutableArray(Of Byte))() 148Return SpecializedCollections.EmptyEnumerable(Of NamedTypeSymbol)()
Symbols\NamespaceOrTypeSymbol.vb (1)
256Return SpecializedCollections.EmptyEnumerable(Of NamespaceOrTypeSymbol)()
Symbols\Source\ImplicitNamedTypeSymbol.vb (1)
206Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)()
Symbols\Source\SourceAssemblySymbol.vb (3)
619securityAttributes = SpecializedCollections.EmptyEnumerable(Of Cci.SecurityAttribute)() 896Return SpecializedCollections.EmptyEnumerable(Of ImmutableArray(Of Byte))() 903Return If(result IsNot Nothing, result.Keys, SpecializedCollections.EmptyEnumerable(Of ImmutableArray(Of Byte))())
Symbols\Source\SourceMethodSymbol.vb (1)
1934Return SpecializedCollections.EmptyEnumerable(Of SecurityAttribute)()
Symbols\Source\SourceNamedTypeSymbol.vb (2)
2155Return SpecializedCollections.EmptyEnumerable(Of Microsoft.Cci.SecurityAttribute)() 2593Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)()
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (2)
791Return SpecializedCollections.EmptyEnumerable(Of FieldSymbol)() 1026Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)()
Symbols\SynthesizedSymbols\SynthesizedEventDelegateSymbol.vb (2)
93Return SpecializedCollections.EmptyEnumerable(Of FieldSymbol)() 445Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)()
Symbols\Tuples\TupleTypeSymbol.vb (1)
1102Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)()
Symbols\UnboundGenericType.vb (1)
338Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)()
Syntax\VisualBasicSyntaxTree.vb (1)
380Return SpecializedCollections.EmptyEnumerable(Of Diagnostic)()
VisualBasicDeclarationComputer.vb (3)
175Dim attributes = SpecializedCollections.EmptyEnumerable(Of SyntaxNode) 239SpecializedCollections.EmptyEnumerable(Of SyntaxNode)) 253SpecializedCollections.EmptyEnumerable(Of SyntaxNode))
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Emit\CompilationEmitTests.vb (1)
3276Dim assemblyBuilder = New PEAssemblyBuilder(sourceAssembly, emitOptions, OutputKind.DynamicallyLinkedLibrary, GetDefaultModulePropertiesForSerialization(), SpecializedCollections.EmptyEnumerable(Of ResourceDescription), Nothing)
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (4)
EEAssemblyBuilder.vb (1)
40manifestResources:=SpecializedCollections.EmptyEnumerable(Of ResourceDescription)(),
Symbols\EENamedTypeSymbol.vb (3)
108Return SpecializedCollections.EmptyEnumerable(Of FieldSymbol)() 116Return SpecializedCollections.EmptyEnumerable(Of NamedTypeSymbol)() 369Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)()
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
SymbolsTests\Source\PropertyTests.vb (1)
8199Dim [module] = New PEAssemblyBuilder(DirectCast([class].ContainingAssembly, SourceAssemblySymbol), EmitOptions.Default, OutputKind.DynamicallyLinkedLibrary, GetDefaultModulePropertiesForSerialization(), SpecializedCollections.EmptyEnumerable(Of ResourceDescription)())
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (2)
MockSymbols.vb (2)
244Return SpecializedCollections.EmptyEnumerable(Of FieldSymbol)() 379Return SpecializedCollections.EmptyEnumerable(Of PropertySymbol)()
VBCSCompiler (1)
AnalyzerConsistencyChecker.cs (1)
66string? resolvedPath = FileUtilities.ResolveRelativePath(analyzerReference.FilePath, basePath: null, baseDirectory: baseDirectory, searchPaths: SpecializedCollections.EmptyEnumerable<string>(), fileExists: File.Exists);