145 references to EmptyEnumerable
Microsoft.CodeAnalysis.CodeStyle (9)
EnumerableExtensions.cs (1)
292
return SpecializedCollections.
EmptyEnumerable
<T>();
INamedTypeSymbolExtensions.cs (1)
398
? SpecializedCollections.
EmptyEnumerable
<INamedTypeSymbol>()
INamespaceOrTypeSymbolExtensions.cs (1)
27
? SpecializedCollections.
EmptyEnumerable
<IPropertySymbol>()
IReadOnlyDictionaryExtensions.cs (1)
28
default: return SpecializedCollections.
EmptyEnumerable
<T>();
ITypeSymbolExtensions.cs (1)
436
return SpecializedCollections.
EmptyEnumerable
<T>();
SpecializedTasks.cs (1)
188
public static readonly Task<IEnumerable<T>> EmptyEnumerable = Task.FromResult<IEnumerable<T>>(SpecializedCollections.
EmptyEnumerable
<T>());
StructuredAnalyzerConfigOptions.cs (1)
56
=> SpecializedCollections.
EmptyEnumerable
<string>();
SyntaxTokenExtensions.cs (2)
29
: SpecializedCollections.
EmptyEnumerable
<T>();
36
: SpecializedCollections.
EmptyEnumerable
<SyntaxNode>();
Microsoft.CodeAnalysis.CodeStyle.Fixes (6)
AbstractTypeInferenceService.AbstractTypeInferrer.cs (2)
73
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
120
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
CodeGenerationContext.cs (1)
160
AdditionalImports = additionalImports ?? SpecializedCollections.
EmptyEnumerable
<INamespaceSymbol>();
OrderableMetadata.cs (2)
34
this.AfterTyped = after ?? SpecializedCollections.
EmptyEnumerable
<string>();
35
this.BeforeTyped = before ?? SpecializedCollections.
EmptyEnumerable
<string>();
ParsedDocument.cs (1)
77
return SpecializedCollections.
EmptyEnumerable
<TextChange>();
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
CSharpSyntaxFacts.cs (1)
1060
return SpecializedCollections.
EmptyEnumerable
<SyntaxNode>();
SemanticModelExtensions.cs (1)
36
return SpecializedCollections.
EmptyEnumerable
<ITypeSymbol>();
SyntaxNodeExtensions.cs (1)
966
return SpecializedCollections.
EmptyEnumerable
<MemberDeclarationSyntax>();
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (79)
CSharpTypeInferenceService.TypeInferrer.cs (78)
90
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
123
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
188
_ => SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>(),
255
_ => SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>(),
266
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
277
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
337
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
353
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
375
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
388
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
444
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
508
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
532
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
540
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
549
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
811
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
839
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
850
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
873
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
886
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
897
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
907
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1080
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1087
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1093
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1104
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1115
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1201
: SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1216
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1226
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1240
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1257
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1268
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1273
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1299
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1304
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1315
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1469
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1518
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1537
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1553
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1570
_ => SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>()
1603
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1617
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1628
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1639
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1663
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1673
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1684
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1692
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1699
_ => SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>()
1708
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1714
_ => SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>()
1732
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1815
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1893
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1903
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1921
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1929
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1939
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
1976
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
2011
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
2027
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
2039
: SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
2070
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
2093
: SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
2142
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
2150
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
2161
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
2175
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
2197
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
2208
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
2219
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
2229
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
2233
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
2335
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
2431
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
2442
return SpecializedCollections.
EmptyEnumerable
<TypeInferenceInfo>();
TypeDeclarationSyntaxExtensions.cs (1)
73
var baseListTypes = SpecializedCollections.
EmptyEnumerable
<BaseTypeSyntax>();
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (2)
SyntaxNodeExtensions.vb (1)
980
Return SpecializedCollections.
EmptyEnumerable
(Of SyntaxNode)()
VisualBasicSyntaxFacts.vb (1)
1105
Return SpecializedCollections.
EmptyEnumerable
(Of SyntaxNode)()
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (46)
VisualBasicTypeInferenceService.TypeInferrer.vb (46)
48
Return If(objectAsDefault, CreateResult(Me.Compilation.ObjectType), SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)())
100
Function(x) SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)())
106
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
111
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
123
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
174
Function(x) SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)())
180
SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)())
196
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)
210
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
229
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
247
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
307
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
331
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
364
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
380
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
402
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
434
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
443
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
463
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
479
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
497
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
577
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
583
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
591
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
630
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
636
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
644
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
669
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
686
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
703
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
714
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
720
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
733
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)
748
SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo))
754
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
760
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)
764
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)
780
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)
813
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
832
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
853
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
862
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
888
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)
955
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
1018
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)()
1073
Return SpecializedCollections.
EmptyEnumerable
(Of TypeInferenceInfo)