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