118 references to ConsiderEverything
Microsoft.CodeAnalysis.CSharp (118)
Binder\Binder_Lookup.cs (1)
1073
var visited = new HashSet<NamedTypeSymbol>(Symbols.SymbolEqualityComparer.
ConsiderEverything
);
Binder\Semantics\BestTypeInferrer.cs (1)
68
IEqualityComparer<TypeSymbol> comparer = conversions.IncludeNullability ? Symbols.SymbolEqualityComparer.
ConsiderEverything
: Symbols.SymbolEqualityComparer.IgnoringNullable;
BoundTree\BoundDecisionDag.cs (1)
52
var result = ImmutableHashSet.CreateBuilder<LabelSymbol>(Symbols.SymbolEqualityComparer.
ConsiderEverything
);
Compiler\ClsComplianceChecker.cs (1)
52
_declaredOrInheritedCompliance = new ConcurrentDictionary<Symbol, Compliance>(Symbols.SymbolEqualityComparer.
ConsiderEverything
);
Compiler\MethodCompiler.cs (1)
832
Symbols.SymbolEqualityComparer.
ConsiderEverything
))
Compiler\SynthesizedMetadataCompiler.cs (1)
81
Symbols.SymbolEqualityComparer.
ConsiderEverything
))
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
392
if (!interfaces.Contains(implemented.ContainingType, SymbolEqualityComparer.
ConsiderEverything
))
Emitter\Model\PEModuleBuilder.cs (1)
30
private readonly ConcurrentDictionary<Symbol, object> _genericInstanceMap = new ConcurrentDictionary<Symbol, object>(Symbols.SymbolEqualityComparer.
ConsiderEverything
);
FlowAnalysis\EmptyStructTypeCache.cs (1)
32
return _cache ?? (_cache = new SmallDictionary<NamedTypeSymbol, bool>(Symbols.SymbolEqualityComparer.
ConsiderEverything
));
FlowAnalysis\NullableWalker.cs (3)
1610
var remappedSymbolsBuilder = ImmutableDictionary.CreateBuilder<Symbol, Symbol>(Symbols.SymbolEqualityComparer.
ConsiderEverything
, Symbols.SymbolEqualityComparer.
ConsiderEverything
);
12661
Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(x.type, y.type);
FlowAnalysis\NullableWalker.SnapshotManager.cs (1)
148
private readonly ImmutableDictionary<(BoundNode?, Symbol), Symbol>.Builder _updatedSymbolMap = ImmutableDictionary.CreateBuilder<(BoundNode?, Symbol), Symbol>(ExpressionAndSymbolEqualityComparer.Instance, Symbols.SymbolEqualityComparer.
ConsiderEverything
);
Generated\BoundNodes.xml.Generated.cs (98)
326
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(field, this.Field) || locals != this.Locals || value != this.Value)
356
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(property, this.Property) || locals != this.Locals || value != this.Value)
386
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(parameter, this.Parameter) || locals != this.Locals || value != this.Value)
558
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(variableSymbol, this.VariableSymbol) || isDiscardExpression != this.IsDiscardExpression || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
1091
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(aliasOpt, this.AliasOpt) || boundContainingTypeOpt != this.BoundContainingTypeOpt || boundDimensionsOpt != this.BoundDimensionsOpt || typeWithAnnotations != this.TypeWithAnnotations || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
1170
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(namespaceSymbol, this.NamespaceSymbol) || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(aliasOpt, this.AliasOpt))
1212
if (operatorKind != this.OperatorKind || operand != this.Operand || constantValueOpt != this.ConstantValueOpt || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(methodOpt, this.MethodOpt) || !TypeSymbol.Equals(constrainedToTypeOpt, this.ConstrainedToTypeOpt, TypeCompareKind.ConsiderEverything) || resultKind != this.ResultKind || originalUserDefinedOperatorsOpt != this.OriginalUserDefinedOperatorsOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
1260
if (operatorKind != this.OperatorKind || operand != this.Operand || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(methodOpt, this.MethodOpt) || !TypeSymbol.Equals(constrainedToTypeOpt, this.ConstrainedToTypeOpt, TypeCompareKind.ConsiderEverything) || operandPlaceholder != this.OperandPlaceholder || operandConversion != this.OperandConversion || resultPlaceholder != this.ResultPlaceholder || resultConversion != this.ResultConversion || resultKind != this.ResultKind || originalUserDefinedOperatorsOpt != this.OriginalUserDefinedOperatorsOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
1364
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(targetMethod, this.TargetMethod) || !TypeSymbol.Equals(constrainedToTypeOpt, this.ConstrainedToTypeOpt, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
1502
if (operand != this.Operand || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(getTypeFromHandle, this.GetTypeFromHandle) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
1596
if (operand != this.Operand || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(methodOpt, this.MethodOpt) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
1629
if (leftOperandOpt != this.LeftOperandOpt || rightOperandOpt != this.RightOperandOpt || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(methodOpt, this.MethodOpt) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
1765
if (operatorKind != this.OperatorKind || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(logicalOperator, this.LogicalOperator) || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(trueOperator, this.TrueOperator) || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(falseOperator, this.FalseOperator) || !TypeSymbol.Equals(constrainedToTypeOpt, this.ConstrainedToTypeOpt, TypeCompareKind.ConsiderEverything) || resultKind != this.ResultKind || originalUserDefinedOperatorsOpt != this.OriginalUserDefinedOperatorsOpt || left != this.Left || right != this.Right || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
2161
if (awaitableInstancePlaceholder != this.AwaitableInstancePlaceholder || isDynamic != this.IsDynamic || getAwaiter != this.GetAwaiter || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(isCompleted, this.IsCompleted) || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(getResult, this.GetResult))
2249
if (sourceType != this.SourceType || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(getTypeFromHandle, this.GetTypeFromHandle) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
2321
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(method, this.Method) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
2364
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(local, this.Local) || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(hoistedField, this.HoistedField) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
2407
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(parameter, this.Parameter) || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(hoistedField, this.HoistedField) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
2738
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(method, this.Method) || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(getMethodFromHandle, this.GetMethodFromHandle) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
2781
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(field, this.Field) || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(getFieldFromHandle, this.GetFieldFromHandle) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
3016
if (operand != this.Operand || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(conversionMethod, this.ConversionMethod) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
3121
if (!TypeSymbol.Equals(elementPointerType, this.ElementPointerType, TypeCompareKind.ConsiderEverything) || elementPointerPlaceholder != this.ElementPointerPlaceholder || elementPointerConversion != this.ElementPointerConversion || expression != this.Expression || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(getPinnableOpt, this.GetPinnableOpt) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
3424
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(localSymbol, this.LocalSymbol) || declaredTypeOpt != this.DeclaredTypeOpt || initializerOpt != this.InitializerOpt || argumentsOpt != this.ArgumentsOpt || inferredType != this.InferredType)
3526
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(symbol, this.Symbol) || blockBody != this.BlockBody || expressionBody != this.ExpressionBody)
3721
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(label, this.Label))
3758
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(label, this.Label))
3803
if (expression != this.Expression || innerLocals != this.InnerLocals || innerLocalFunctions != this.InnerLocalFunctions || switchSections != this.SwitchSections || reachabilityDecisionDag != this.ReachabilityDecisionDag || defaultLabel != this.DefaultLabel || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(breakLabel, this.BreakLabel))
3839
if (expression != this.Expression || cases != this.Cases || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(defaultLabel, this.DefaultLabel) || lengthBasedStringSwitchDataOpt != this.LengthBasedStringSwitchDataOpt)
3952
if (locals != this.Locals || condition != this.Condition || body != this.Body || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(breakLabel, this.BreakLabel) || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(continueLabel, this.ContinueLabel))
3982
if (locals != this.Locals || condition != this.Condition || body != this.Body || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(breakLabel, this.BreakLabel) || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(continueLabel, this.ContinueLabel))
4024
if (outerLocals != this.OuterLocals || initializer != this.Initializer || innerLocals != this.InnerLocals || condition != this.Condition || increment != this.Increment || body != this.Body || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(breakLabel, this.BreakLabel) || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(continueLabel, this.ContinueLabel))
4075
if (enumeratorInfoOpt != this.EnumeratorInfoOpt || elementPlaceholder != this.ElementPlaceholder || elementConversion != this.ElementConversion || iterationVariableType != this.IterationVariableType || iterationVariables != this.IterationVariables || iterationErrorExpressionOpt != this.IterationErrorExpressionOpt || expression != this.Expression || deconstructionOpt != this.DeconstructionOpt || awaitOpt != this.AwaitOpt || body != this.Body || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(breakLabel, this.BreakLabel) || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(continueLabel, this.ContinueLabel))
4247
if (tryBlock != this.TryBlock || catchBlocks != this.CatchBlocks || finallyBlockOpt != this.FinallyBlockOpt || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(finallyLabelOpt, this.FinallyLabelOpt) || preferFaultHandler != this.PreferFaultHandler)
4542
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(localSymbol, this.LocalSymbol) || declarationKind != this.DeclarationKind || constantValueOpt != this.ConstantValueOpt || isNullableUnknown != this.IsNullableUnknown || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
4587
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(localSymbol, this.LocalSymbol) || emitExpressions != this.EmitExpressions || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
4620
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(rangeVariableSymbol, this.RangeVariableSymbol) || value != this.Value || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
4660
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(parameterSymbol, this.ParameterSymbol) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
4697
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(label, this.Label))
4729
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(label, this.Label) || caseExpressionOpt != this.CaseExpressionOpt || labelExpressionOpt != this.LabelExpressionOpt)
4760
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(label, this.Label) || body != this.Body)
4797
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(label, this.Label) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
4867
if (condition != this.Condition || jumpIfTrue != this.JumpIfTrue || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(label, this.Label))
4930
if (locals != this.Locals || pattern != this.Pattern || whenClause != this.WhenClause || value != this.Value || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(label, this.Label))
4958
if (expression != this.Expression || switchArms != this.SwitchArms || reachabilityDecisionDag != this.ReachabilityDecisionDag || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(defaultLabel, this.DefaultLabel) || reportedNotExhaustive != this.ReportedNotExhaustive || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
4992
if (!TypeSymbol.Equals(naturalTypeOpt, this.NaturalTypeOpt, TypeCompareKind.ConsiderEverything) || wasTargetTyped != this.WasTargetTyped || expression != this.Expression || switchArms != this.SwitchArms || reachabilityDecisionDag != this.ReachabilityDecisionDag || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(defaultLabel, this.DefaultLabel) || reportedNotExhaustive != this.ReportedNotExhaustive || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
5171
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(label, this.Label))
5401
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(deconstructMethod, this.DeconstructMethod) || input != this.Input)
5459
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(field, this.Field) || input != this.Input)
5490
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(property, this.Property) || isLengthOrCount != this.IsLengthOrCount || input != this.Input)
5521
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(property, this.Property) || index != this.Index || input != this.Input)
5711
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(label, this.Label) || pattern != this.Pattern || whenClause != this.WhenClause)
5991
if (receiver != this.Receiver || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(hasValueMethodOpt, this.HasValueMethodOpt) || whenNotNull != this.WhenNotNull || whenNullOpt != this.WhenNullOpt || id != this.Id || forceCopyOfNullableValueType != this.ForceCopyOfNullableValueType || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
6103
if (typeArgumentsOpt != this.TypeArgumentsOpt || name != this.Name || methods != this.Methods || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(lookupSymbolOpt, this.LookupSymbolOpt) || lookupError != this.LookupError || flags != this.Flags || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(functionType, this.FunctionType) || receiverOpt != this.ReceiverOpt || resultKind != this.ResultKind)
6186
if (receiverOpt != this.ReceiverOpt || initialBindingReceiverIsSubjectToCloning != this.InitialBindingReceiverIsSubjectToCloning || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(method, this.Method) || arguments != this.Arguments || argumentNamesOpt != this.ArgumentNamesOpt || argumentRefKindsOpt != this.ArgumentRefKindsOpt || isDelegateCall != this.IsDelegateCall || expanded != this.Expanded || invokedAsExtensionMethod != this.InvokedAsExtensionMethod || argsToParamsOpt != this.ArgsToParamsOpt || defaultArguments != this.DefaultArguments || resultKind != this.ResultKind || originalMethodsOpt != this.OriginalMethodsOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
6225
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(@event, this.Event) || isAddition != this.IsAddition || isDynamic != this.IsDynamic || receiverOpt != this.ReceiverOpt || argument != this.Argument || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
6270
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(constructor, this.Constructor) || constructorArguments != this.ConstructorArguments || constructorArgumentNamesOpt != this.ConstructorArgumentNamesOpt || constructorArgumentsToParamsOpt != this.ConstructorArgumentsToParamsOpt || constructorExpanded != this.ConstructorExpanded || constructorDefaultArguments != this.ConstructorDefaultArguments || namedArguments != this.NamedArguments || resultKind != this.ResultKind || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
6380
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(constructor, this.Constructor) || constructorsGroup != this.ConstructorsGroup || arguments != this.Arguments || argumentNamesOpt != this.ArgumentNamesOpt || argumentRefKindsOpt != this.ArgumentRefKindsOpt || expanded != this.Expanded || argsToParamsOpt != this.ArgsToParamsOpt || defaultArguments != this.DefaultArguments || constantValueOpt != this.ConstantValueOpt || initializerExpressionOpt != this.InitializerExpressionOpt || wasTargetTyped != this.WasTargetTyped || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
6466
if (collectionTypeKind != this.CollectionTypeKind || placeholder != this.Placeholder || collectionCreation != this.CollectionCreation || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(collectionBuilderMethod, this.CollectionBuilderMethod) || collectionBuilderInvocationPlaceholder != this.CollectionBuilderInvocationPlaceholder || collectionBuilderInvocationConversion != this.CollectionBuilderInvocationConversion || wasTargetTyped != this.WasTargetTyped || unconvertedCollectionExpression != this.UnconvertedCollectionExpression || elements != this.Elements || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
6780
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(memberSymbol, this.MemberSymbol) || arguments != this.Arguments || argumentNamesOpt != this.ArgumentNamesOpt || argumentRefKindsOpt != this.ArgumentRefKindsOpt || expanded != this.Expanded || argsToParamsOpt != this.ArgsToParamsOpt || defaultArguments != this.DefaultArguments || resultKind != this.ResultKind || accessorKind != this.AccessorKind || !TypeSymbol.Equals(receiverType, this.ReceiverType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
6898
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(addMethod, this.AddMethod) || arguments != this.Arguments || implicitReceiverOpt != this.ImplicitReceiverOpt || expanded != this.Expanded || argsToParamsOpt != this.ArgsToParamsOpt || defaultArguments != this.DefaultArguments || invokedAsExtensionMethod != this.InvokedAsExtensionMethod || resultKind != this.ResultKind || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
7001
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(constructor, this.Constructor) || arguments != this.Arguments || declarations != this.Declarations || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
7041
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(property, this.Property) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
7107
if (argument != this.Argument || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(methodOpt, this.MethodOpt) || isExtensionMethod != this.IsExtensionMethod || wasTargetTyped != this.WasTargetTyped || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
7285
if (receiverOpt != this.ReceiverOpt || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(fieldSymbol, this.FieldSymbol) || constantValueOpt != this.ConstantValueOpt || resultKind != this.ResultKind || isByValue != this.IsByValue || isDeclaration != this.IsDeclaration || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
7325
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(fieldSymbol, this.FieldSymbol) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
7363
if (receiverOpt != this.ReceiverOpt || initialBindingReceiverIsSubjectToCloning != this.InitialBindingReceiverIsSubjectToCloning || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(propertySymbol, this.PropertySymbol) || autoPropertyAccessorKind != this.AutoPropertyAccessorKind || resultKind != this.ResultKind || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
7399
if (receiverOpt != this.ReceiverOpt || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(eventSymbol, this.EventSymbol) || isUsableAsField != this.IsUsableAsField || resultKind != this.ResultKind || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
7450
if (receiverOpt != this.ReceiverOpt || initialBindingReceiverIsSubjectToCloning != this.InitialBindingReceiverIsSubjectToCloning || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(indexer, this.Indexer) || arguments != this.Arguments || argumentNamesOpt != this.ArgumentNamesOpt || argumentRefKindsOpt != this.ArgumentRefKindsOpt || expanded != this.Expanded || accessorKind != this.AccessorKind || argsToParamsOpt != this.ArgsToParamsOpt || defaultArguments != this.DefaultArguments || originalIndexersOpt != this.OriginalIndexersOpt || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
7620
if (unboundLambda != this.UnboundLambda || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(symbol, this.Symbol) || body != this.Body || diagnostics != this.Diagnostics || binder != this.Binder || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
7664
if (data != this.Data || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(functionType, this.FunctionType) || withDependencies != this.WithDependencies)
7705
if (value != this.Value || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(definedSymbol, this.DefinedSymbol) || operation != this.Operation || cast != this.Cast || binder != this.Binder || unoptimizedForm != this.UnoptimizedForm || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
7977
if (expression != this.Expression || pattern != this.Pattern || isNegated != this.IsNegated || reachabilityDecisionDag != this.ReachabilityDecisionDag || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(whenTrueLabel, this.WhenTrueLabel) || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(whenFalseLabel, this.WhenFalseLabel) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
8123
if (declaredType != this.DeclaredType || isVar != this.IsVar || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(variable, this.Variable) || variableAccess != this.VariableAccess || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
8160
if (declaredType != this.DeclaredType || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(deconstructMethod, this.DeconstructMethod) || deconstruction != this.Deconstruction || properties != this.Properties || isExplicitNotNullTest != this.IsExplicitNotNullTest || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(variable, this.Variable) || variableAccess != this.VariableAccess || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
8204
if (subpatterns != this.Subpatterns || hasSlice != this.HasSlice || lengthAccess != this.LengthAccess || indexerAccess != this.IndexerAccess || receiverPlaceholder != this.ReceiverPlaceholder || argumentPlaceholder != this.ArgumentPlaceholder || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(variable, this.Variable) || variableAccess != this.VariableAccess || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
8279
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(getLengthMethod, this.GetLengthMethod) || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(getItemMethod, this.GetItemMethod) || subpatterns != this.Subpatterns || !TypeSymbol.Equals(inputType, this.InputType, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(narrowedType, this.NarrowedType, TypeCompareKind.ConsiderEverything))
8321
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(symbol, this.Symbol) || pattern != this.Pattern)
8383
if (receiver != this.Receiver || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(symbol, this.Symbol) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
8621
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(variableSymbol, this.VariableSymbol) || receiverOpt != this.ReceiverOpt)
8647
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(variableSymbol, this.VariableSymbol) || receiverOpt != this.ReceiverOpt)
8682
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(variableSymbol, this.VariableSymbol) || isDiscardExpression != this.IsDiscardExpression)
8814
if (receiver != this.Receiver || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(cloneMethod, this.CloneMethod) || initializerExpression != this.InitializerExpression || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
Symbols\MemberSignatureComparer.cs (1)
522
if (!explicitInterfaceImplementations1.SetEquals(explicitInterfaceImplementations2, SymbolEqualityComparer.
ConsiderEverything
))
Symbols\SpecializedSymbolCollections.cs (2)
22
internal static readonly ObjectPool<PooledHashSet<TSymbol>> s_poolInstance = PooledHashSet<TSymbol>.CreatePool(SymbolEqualityComparer.
ConsiderEverything
);
34
internal static readonly ObjectPool<PooledDictionary<TSymbol, V>> s_poolInstance = PooledDictionary<TSymbol, V>.CreatePool(SymbolEqualityComparer.
ConsiderEverything
);
Symbols\SymbolEqualityComparer.cs (1)
18
internal static EqualityComparer<Symbol> IncludeNullability =>
ConsiderEverything
;
Symbols\TypeSymbol.cs (3)
73
map = new ConcurrentDictionary<Symbol, SymbolAndDiagnostics>(concurrencyLevel: 1, capacity: 1, comparer: SymbolEqualityComparer.
ConsiderEverything
);
340
var visited = new HashSet<NamedTypeSymbol>(SymbolEqualityComparer.
ConsiderEverything
);
417
var resultBuilder = new MultiDictionary<NamedTypeSymbol, NamedTypeSymbol>(declaredInterfaces.Length, SymbolEqualityComparer.CLRSignature, SymbolEqualityComparer.
ConsiderEverything
);