2 instantiations of CompoundUseSiteInfo
Microsoft.CodeAnalysis (2)
Binding\UseSiteInfo.cs (2)
114
public static CompoundUseSiteInfo<TAssemblySymbol> Discarded => new
CompoundUseSiteInfo
<TAssemblySymbol>(DiscardLevel.DiagnosticsAndDependencies);
115
public static CompoundUseSiteInfo<TAssemblySymbol> DiscardedDependencies => new
CompoundUseSiteInfo
<TAssemblySymbol>(DiscardLevel.Dependencies);
114 references to CompoundUseSiteInfo
Microsoft.CodeAnalysis (13)
Binding\BindingDiagnosticBag.cs (8)
199
internal void AddDependencies(
CompoundUseSiteInfo
<TAssemblySymbol> useSiteInfo)
208
internal bool Add(SyntaxNode node,
CompoundUseSiteInfo
<TAssemblySymbol> useSiteInfo)
211
internal bool AddDiagnostics(SyntaxNode node,
CompoundUseSiteInfo
<TAssemblySymbol> useSiteInfo)
214
internal bool Add(SyntaxToken token,
CompoundUseSiteInfo
<TAssemblySymbol> useSiteInfo)
217
internal bool Add(Location location,
CompoundUseSiteInfo
<TAssemblySymbol> useSiteInfo)
220
internal bool AddDiagnostics(Location location,
CompoundUseSiteInfo
<TAssemblySymbol> useSiteInfo)
223
internal bool AddDiagnostics<TData>(
CompoundUseSiteInfo
<TAssemblySymbol> useSiteInfo, Func<TData, Location> getLocation, TData data)
259
internal bool Add<TData>(
CompoundUseSiteInfo
<TAssemblySymbol> useSiteInfo, Func<TData, Location> getLocation, TData data)
Binding\UseSiteInfo.cs (5)
114
public static
CompoundUseSiteInfo
<TAssemblySymbol> Discarded => new CompoundUseSiteInfo<TAssemblySymbol>(DiscardLevel.DiagnosticsAndDependencies);
115
public static
CompoundUseSiteInfo
<TAssemblySymbol> DiscardedDependencies => new CompoundUseSiteInfo<TAssemblySymbol>(DiscardLevel.Dependencies);
155
public CompoundUseSiteInfo(
CompoundUseSiteInfo
<TAssemblySymbol> template)
352
public void AddDependencies(
CompoundUseSiteInfo
<TAssemblySymbol> info)
388
public void MergeAndClear(ref
CompoundUseSiteInfo
<TAssemblySymbol> other)
Microsoft.CodeAnalysis.CSharp (98)
Binder\Binder.IdentifierUsedAsValueFinder.cs (2)
199
var
useSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
262
var
useSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Binder\Binder_Expressions.cs (7)
1482
var
useSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
1767
var
discardedInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
1921
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
2259
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
2334
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
2856
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
2887
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Binder\Binder_Invocation.cs (2)
1622
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
2333
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Binder\Binder_Lookup.cs (3)
689
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
1584
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
1698
/// Should only be called by <see cref="IsAccessible(Symbol, TypeSymbol, out bool, ref
CompoundUseSiteInfo
{AssemblySymbol}, ConsList{TypeSymbol})"/>,
Binder\Binder_Operators.cs (1)
819
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Binder\Binder_Statements.cs (5)
2045
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
2391
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
2414
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
2481
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
2517
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Binder\Binder_Symbols.cs (1)
200
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Binder\DecisionDagBuilder.cs (1)
374
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Binder\Semantics\Conversions\ConversionsBase.cs (2)
1894
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
4041
var
discarded = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (1)
2817
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
236
var
useSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Binder\Semantics\SemanticFacts.cs (2)
38
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
63
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Compilation\CSharpCompilation.cs (2)
2312
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
2404
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Compilation\CSharpSemanticModel.cs (9)
1662
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
1735
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
1825
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
2023
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
2209
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
2858
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
2910
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
4041
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
4638
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Compilation\MemberSemanticModel.cs (2)
481
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
505
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Compilation\SyntaxTreeSemanticModel.cs (1)
254
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
281
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
882
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Emitter\NoPia\EmbeddedEvent.cs (1)
114
var
useSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.DiscardedDependencies;
FlowAnalysis\NullableWalker.cs (15)
2067
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
2674
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
2780
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
4678
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
4791
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
5257
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
5538
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
5969
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
6025
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
7628
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
7912
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
8153
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
9621
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
10996
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
11182
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
FlowAnalysis\NullableWalker_Patterns.cs (3)
462
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
762
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
949
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (1)
620
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (1)
195
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (1)
666
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Lowering\LocalRewriter\LocalRewriter_SwitchExpression.cs (1)
150
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Lowering\SyntheticBoundNodeFactory.cs (5)
550
var
useSiteInfo =
641
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
1307
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
1414
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
1471
var
useSiteInfo =
Operations\CSharpOperationFactory.cs (1)
1894
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Symbols\Attributes\AttributeData.cs (1)
117
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Symbols\Compilation_WellKnownMembers.cs (1)
197
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Symbols\ConstraintsHelper.cs (1)
1598
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Symbols\EventSymbol.cs (1)
194
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Symbols\Metadata\PE\MetadataDecoder.cs (1)
547
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
627
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Symbols\Metadata\PE\PEParameterSymbol.cs (4)
691
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
710
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
730
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
752
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Symbols\MethodSymbol.cs (1)
452
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Symbols\OverriddenOrHiddenMembersHelpers.cs (1)
1072
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Symbols\PropertySymbol.cs (1)
291
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Symbols\ReducedExtensionMethodSymbol.cs (1)
43
var
useSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.DiscardedDependencies;
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (5)
357
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
878
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
997
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
1066
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
1366
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Symbols\Synthesized\Records\SynthesizedRecordClone.cs (1)
89
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded; // This is reported when we bind bases
Symbols\Synthesized\SynthesizedSealedPropertyAccessor.cs (1)
94
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Symbols\TypeSymbol.cs (3)
456
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
605
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
620
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Symbols\TypeSymbolExtensions.cs (1)
1971
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\DelegateTypeTests.cs (1)
15630
var
useSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Semantics\OperatorTests.cs (1)
7385
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\CovariantReturnTests.cs (1)
346
var
discardedUseSiteInfo = CompoundUseSiteInfo<AssemblySymbol>.Discarded;