38 references to Resources
Microsoft.DotNet.ApiCompatibility (38)
Mapping\ElementMapper.cs (2)
40throw new ArgumentOutOfRangeException(nameof(rightSetSize), string.Format(Resources.ShouldBeGreaterThanZero, nameof(rightSetSize))); 57throw new ArgumentOutOfRangeException(nameof(setIndex), string.Format(Resources.IndexShouldBeWithinSetSizeRange, nameof(Right), Right.Length - 1));
Microsoft.DotNet.ApiCompatibility.Resources.cs (1)
10internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(Resources)));
Rules\AssemblyIdentityMustMatch.cs (8)
37string message = string.Format(Resources.AssemblyNameDoesNotExist, leftMetadata, right.Identity.Name); 65string.Format(Resources.AssemblyNameDoesNotExist, left.Identity.Name, rightMetadata), 90Resources.AssemblyNameDoesNotMatch, 103Resources.AssemblyCultureDoesNotMatch, 116Resources.AssemblyVersionIsNotCompatible, 128Resources.AssemblyVersionDoesNotMatch, 141Resources.AssemblyPublicKeyTokenDoesNotMatch, 153Resources.AssemblyPublicKeyTokenDoesNotMatch,
Rules\AttributesMustMatch.cs (3)
46string.Format(Resources.CannotChangeAttribute, attributeData.AttributeClass, containing), 53string.Format(Resources.CannotAddAttribute, attributeData, containing), 60string.Format(Resources.CannotRemoveAttribute, attributeData, containing),
Rules\CannotAddAbstractMember.cs (1)
40string.Format(Resources.CannotAddAbstractMember, right.ToDisplayString(SymbolExtensions.DisplayFormat), rightMetadata, leftMetadata),
Rules\CannotAddMemberToInterface.cs (1)
43string.Format(Resources.CannotAddMemberToInterface, right.ToDisplayString(SymbolExtensions.DisplayFormat), rightMetadata, leftMetadata),
Rules\CannotAddOrRemoveVirtualKeyword.cs (4)
42string.Format(Resources.CannotAddSealedToInterfaceMember, right), 66string.Format(Resources.CannotRemoveVirtualOrAbstractFromMember, "virtual", left), 84string.Format(Resources.CannotAddVirtualToMember, right), 99string.Format(Resources.CannotRemoveVirtualOrAbstractFromMember, "abstract", left),
Rules\CannotChangeGenericConstraints.cs (2)
112string.Format(Resources.CannotAddGenericConstraint, addedConstraint, leftTypeParam, left), 134string.Format(Resources.CannotRemoveGenericConstraint, removedConstraint, leftTypeParam, left),
Rules\CannotChangeParameterName.cs (1)
44string.Format(Resources.CannotChangeParameterName, left, leftParam.Name, rightParam.Name),
Rules\CannotChangeVisibility.cs (2)
78string.Format(Resources.CannotReduceVisibility, left, leftAccess, rightAccess), 87string.Format(Resources.CannotExpandVisibility, right, leftAccess, rightAccess),
Rules\CannotRemoveBaseTypeOrInterface.cs (2)
66string.Format(Resources.CannotRemoveBaseType, left.ToDisplayString(SymbolExtensions.DisplayFormat), leftBaseType.ToDisplayString(SymbolExtensions.DisplayFormat), rightName, leftName), 90string.Format(Resources.CannotRemoveBaseInterface, left.ToDisplayString(SymbolExtensions.DisplayFormat), leftInterface.ToDisplayString(SymbolExtensions.DisplayFormat), rightName, leftName),
Rules\CannotSealType.cs (2)
54symbol.IsSealed ? Resources.TypeIsActuallySealed : Resources.TypeIsEffectivelySealed;
Rules\EnumsMustMatch.cs (2)
48string.Format(Resources.EnumTypesMustMatch, left.Name, leftType, rightType), 80string.Format(Resources.EnumValuesMustMatch, left.Name, lEntry.Key, lEntry.Value.ConstantValue, rField.ConstantValue),
Rules\MembersMustExist.cs (4)
41string.Format(Resources.TypeMissingOnSide, left.ToDisplayString(SymbolExtensions.DisplayFormat), leftMetadata, rightMetadata), 51string.Format(Resources.TypeMissingOnSide, right.ToDisplayString(SymbolExtensions.DisplayFormat), rightMetadata, leftMetadata), 70string.Format(Resources.MemberExistsOnLeft, left.ToDisplayString(SymbolExtensions.DisplayFormat), leftMetadata, rightMetadata), 83string.Format(Resources.MemberExistsOnRight, right.ToDisplayString(SymbolExtensions.DisplayFormat), leftMetadata, rightMetadata),
Runner\ApiCompatRunner.cs (3)
30string.Format(Resources.ApiCompatRunnerExecutingWorkItems, 83log.LogError(string.Format(Resources.ApiCompatibilityHeader, 134string.Format(Resources.AssemblyLoadError,