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)
1671
var remappedSymbolsBuilder = ImmutableDictionary.CreateBuilder<Symbol, Symbol>(Symbols.SymbolEqualityComparer.
ConsiderEverything
, Symbols.SymbolEqualityComparer.
ConsiderEverything
);
12719
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)
327
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(field, this.Field) || locals != this.Locals || value != this.Value)
357
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(property, this.Property) || locals != this.Locals || value != this.Value)
387
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(parameter, this.Parameter) || locals != this.Locals || value != this.Value)
559
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(variableSymbol, this.VariableSymbol) || isDiscardExpression != this.IsDiscardExpression || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
1092
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(aliasOpt, this.AliasOpt) || boundContainingTypeOpt != this.BoundContainingTypeOpt || boundDimensionsOpt != this.BoundDimensionsOpt || typeWithAnnotations != this.TypeWithAnnotations || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
1171
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(namespaceSymbol, this.NamespaceSymbol) || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(aliasOpt, this.AliasOpt))
1213
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))
1261
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))
1365
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(targetMethod, this.TargetMethod) || !TypeSymbol.Equals(constrainedToTypeOpt, this.ConstrainedToTypeOpt, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
1503
if (operand != this.Operand || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(getTypeFromHandle, this.GetTypeFromHandle) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
1597
if (operand != this.Operand || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(methodOpt, this.MethodOpt) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
1630
if (leftOperandOpt != this.LeftOperandOpt || rightOperandOpt != this.RightOperandOpt || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(methodOpt, this.MethodOpt) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
1766
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))
2162
if (awaitableInstancePlaceholder != this.AwaitableInstancePlaceholder || isDynamic != this.IsDynamic || getAwaiter != this.GetAwaiter || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(isCompleted, this.IsCompleted) || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(getResult, this.GetResult))
2250
if (sourceType != this.SourceType || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(getTypeFromHandle, this.GetTypeFromHandle) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
2322
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(method, this.Method) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
2365
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(local, this.Local) || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(hoistedField, this.HoistedField) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
2408
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(parameter, this.Parameter) || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(hoistedField, this.HoistedField) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
2739
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(method, this.Method) || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(getMethodFromHandle, this.GetMethodFromHandle) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
2782
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(field, this.Field) || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(getFieldFromHandle, this.GetFieldFromHandle) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
3017
if (operand != this.Operand || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(conversionMethod, this.ConversionMethod) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
3122
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))
3425
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(localSymbol, this.LocalSymbol) || declaredTypeOpt != this.DeclaredTypeOpt || initializerOpt != this.InitializerOpt || argumentsOpt != this.ArgumentsOpt || inferredType != this.InferredType)
3527
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(symbol, this.Symbol) || blockBody != this.BlockBody || expressionBody != this.ExpressionBody)
3722
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(label, this.Label))
3759
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(label, this.Label))
3804
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))
3840
if (expression != this.Expression || cases != this.Cases || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(defaultLabel, this.DefaultLabel) || lengthBasedStringSwitchDataOpt != this.LengthBasedStringSwitchDataOpt)
3953
if (locals != this.Locals || condition != this.Condition || body != this.Body || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(breakLabel, this.BreakLabel) || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(continueLabel, this.ContinueLabel))
3983
if (locals != this.Locals || condition != this.Condition || body != this.Body || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(breakLabel, this.BreakLabel) || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(continueLabel, this.ContinueLabel))
4025
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))
4076
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))
4248
if (tryBlock != this.TryBlock || catchBlocks != this.CatchBlocks || finallyBlockOpt != this.FinallyBlockOpt || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(finallyLabelOpt, this.FinallyLabelOpt) || preferFaultHandler != this.PreferFaultHandler)
4543
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(localSymbol, this.LocalSymbol) || declarationKind != this.DeclarationKind || constantValueOpt != this.ConstantValueOpt || isNullableUnknown != this.IsNullableUnknown || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
4588
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(localSymbol, this.LocalSymbol) || emitExpressions != this.EmitExpressions || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
4621
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(rangeVariableSymbol, this.RangeVariableSymbol) || value != this.Value || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
4661
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(parameterSymbol, this.ParameterSymbol) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
4698
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(label, this.Label))
4730
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(label, this.Label) || caseExpressionOpt != this.CaseExpressionOpt || labelExpressionOpt != this.LabelExpressionOpt)
4761
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(label, this.Label) || body != this.Body)
4798
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(label, this.Label) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
4868
if (condition != this.Condition || jumpIfTrue != this.JumpIfTrue || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(label, this.Label))
4931
if (locals != this.Locals || pattern != this.Pattern || whenClause != this.WhenClause || value != this.Value || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(label, this.Label))
4959
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))
4993
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))
5172
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(label, this.Label))
5402
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(deconstructMethod, this.DeconstructMethod) || input != this.Input)
5460
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(field, this.Field) || input != this.Input)
5491
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(property, this.Property) || isLengthOrCount != this.IsLengthOrCount || input != this.Input)
5522
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(property, this.Property) || index != this.Index || input != this.Input)
5712
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(label, this.Label) || pattern != this.Pattern || whenClause != this.WhenClause)
5992
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))
6104
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)
6187
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))
6226
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))
6271
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))
6381
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))
6467
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))
6781
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))
6899
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))
7002
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(constructor, this.Constructor) || arguments != this.Arguments || declarations != this.Declarations || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
7042
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(property, this.Property) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
7108
if (argument != this.Argument || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(methodOpt, this.MethodOpt) || isExtensionMethod != this.IsExtensionMethod || wasTargetTyped != this.WasTargetTyped || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
7286
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))
7326
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(fieldSymbol, this.FieldSymbol) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
7364
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))
7400
if (receiverOpt != this.ReceiverOpt || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(eventSymbol, this.EventSymbol) || isUsableAsField != this.IsUsableAsField || resultKind != this.ResultKind || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
7451
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))
7621
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))
7665
if (data != this.Data || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(functionType, this.FunctionType) || withDependencies != this.WithDependencies)
7706
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))
7978
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))
8136
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))
8177
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))
8221
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))
8300
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))
8342
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(symbol, this.Symbol) || pattern != this.Pattern)
8404
if (receiver != this.Receiver || !Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(symbol, this.Symbol) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
8658
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(variableSymbol, this.VariableSymbol) || receiverOpt != this.ReceiverOpt)
8684
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(variableSymbol, this.VariableSymbol) || receiverOpt != this.ReceiverOpt)
8719
if (!Symbols.SymbolEqualityComparer.
ConsiderEverything
.Equals(variableSymbol, this.VariableSymbol) || isDiscardExpression != this.IsDiscardExpression)
8851
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
);