64 references to FullName
Microsoft.Cci.Extensions (15)
Extensions\CSharp\CSharpCciExtensions.cs (5)
122throw new InvalidOperationException(String.Format("All delegates should have an Invoke method, but {0} doesn't have one.", type.FullName())); 474return returnType.FullName(); 690return genericType.GenericType.FullName().StartsWith("System.ValueTuple"); 695return genericType.GenericType.FullName().StartsWith("System.Nullable"); 977return $"{memberMessage} '{member.GetVisibilityName()} {member.GetReturnTypeName()} {member.FullName()}' {message1} but {message2}.";
Extensions\MemberExtensions.cs (3)
69return attribute.Type.FullName(); 128if (attribute.Type.FullName() != typeof(EditorBrowsableAttribute).FullName) 154if (attribute.Type.FullName() != typeof(ObsoleteAttribute).FullName)
Extensions\TypeExtensions.cs (3)
386return type.FullName() == typeName; 425where a.Type.FullName() == "System.Runtime.Versioning.TargetFrameworkAttribute" 444return assembly.AssemblyAttributes.Any(a => a.Type.FullName() == "System.Runtime.CompilerServices.ReferenceAssemblyAttribute");
Filters\AttributeMarkedFilter.cs (1)
41return !definition.Attributes.Any(a => String.Equals(a.Type.FullName(), _attributeName, StringComparison.Ordinal));
Filters\ExcludeCompilerGeneratedCciFilter.cs (2)
59if (string.Equals(CompilerGeneratedTypeName, attribute.Type.FullName(), StringComparison.Ordinal)) 80a => string.Equals(a.Type.FullName(), CompilerGeneratedTypeName, StringComparison.Ordinal));
Writers\CSharp\CSDeclarationWriter.cs (1)
217if (modifier.Modifier.FullName() == "System.Runtime.CompilerServices.IsVolatile")
Microsoft.DotNet.ApiCompat (45)
PublicEditorBrowsableOnlyCciFilter.cs (1)
37string name = reference.FullName();
Rules\Compat\AttributeDifference.cs (6)
111string errString = $"'{target.FullName()}'"; 115errString += $" '{target.FullName()}' on member '{member?.FullName()}'"; 132$"Attribute '{type.FullName()}' exists on {errString} in the {Implementation} but not the {Contract}.")); 148$"Attribute '{type.FullName()}' on {errString} changed from '{contractKey}' in the {Contract} to '{implementationKey}' in the {Implementation}."); 162$"Attribute '{type.FullName()}' exists on {errString} in the {Contract} but not the {Implementation}.");
Rules\Compat\CannotAddAttributes.cs (1)
102string attribName = type.FullName();
Rules\Compat\CannotMakeAbstract.cs (1)
34$"Type '{impl.FullName()}' is abstract in the {Implementation} but is not abstract in the {Contract}.");
Rules\Compat\CannotMakeMoreVisible.cs (2)
29$"Visibility of member '{impl.FullName()}' is '{impl.GetVisibilityName()}' in the {Implementation} but '{contract.GetVisibilityName()}' in the {Contract}."); 52$"Visibility of type '{impl.FullName()}' is '{impl.GetVisibilityName()}' in the {Implementation} but '{contract.GetVisibilityName()}' in the {Contract}.");
Rules\Compat\CannotRemoveBaseTypeOrInterface.cs (4)
45$"Type '{contract.FullName()}' does not inherit from base type '{contractBaseType.FullName()}' in the {Implementation} but it does in the {Contract}."); 67$"Type '{contract.FullName()}' does not implement interface '{contractInterface.FullName()}' in the {Implementation} but it does in the {Contract}.");
Rules\Compat\CannotRemoveGenerics.cs (5)
55$"Variance on generic parameter '{implParam.FullName()}' for '{target.FullName()}' is '{implParam.Variance}' in the {Implementation} but '{contractParam.Variance}' in the {Contract}."); 64$"Constraints for generic parameter '{implParam.FullName()}' for '{target.FullName()}' is '{implConstraints}' in the {Implementation} but '{contractConstraints}' in the {Contract}."); 93yield return constraint.FullName();
Rules\Compat\CannotSealType.cs (1)
20$"Type '{impl.FullName()}' is {(impl.IsSealed ? "actually (has the sealed modifier)" : "effectively (has a private constructor)")} sealed in the {Implementation} but not sealed in the {Contract}.");
Rules\Compat\DelegatesMustMatch.cs (7)
50$"Return type on delegate '{implMethod.ContainingType.FullName()}' is '{implReturnType.FullName()}' in the {Implementation} but '{contractReturnType.FullName()}' in the {Contract}."); 75$"Parameter name on delegate '{implMethod.ContainingType.FullName()}' is '{implParam.Name.Value}' in the {Implementation} but '{contractParam.Name.Value}' in the {Contract}."); 82$"Type for parameter '{implParam.Name.Value}' on delegate '{implMethod.ContainingType.FullName()}' is '{implParam.Type.FullName()}' in the {Implementation} but '{contractParam.Type.FullName()}' in the {Contract}.");
Rules\Compat\EnumTypesMustMatch.cs (3)
31$"Enum type for '{impl.FullName()}' is '{implType.FullName()}' in {Implementation} but '{contractType.FullName()}' in the {Contract}.");
Rules\Compat\EnumValuesMustMatch.cs (3)
37$"Enum value '{implField.FullName()}' is ({implValType.FullName()}){implField.Constant.Value} in the {Implementation} but ({contractValType.FullName()}){contractField.Constant.Value} in the {Contract}.");
Rules\Compat\ParameterModifiersCannotChange.cs (4)
59$"Modifiers on parameter '{implParam.Name.Value}' on method '{implMethod.FullName()}' are '{GetModifier(implParam)}' in the {Implementation} but '{GetModifier(contractParam)}' in the {Contract}."); 71$"Custom modifiers on parameter '{implParam.Name.Value}' on method '{implMethod.FullName()}' are '{PrintCustomModifiers(implParam.CustomModifiers)}' in the {Implementation} but '{PrintCustomModifiers(contractParam.CustomModifiers)}' in the {Contract}."); 83$"Modifiers on return type of method '{implMethod.FullName()}' are '{implReturnModifier}' in the {Implementation} but '{contractReturnModifier}' in the {Contract}."); 111String s = String.Join(", ", modifiers.Select(m => m.Modifier.FullName()));
Rules\Compat\ParameterNamesCannotChange.cs (1)
48$"Parameter name on member '{implMethod.FullName()}' is '{implParam.Name.Value}' in the {Implementation} but '{contractParam.Name.Value}' in the {Contract}.");
Rules\Compat\TypeCannotChangeClassification.cs (2)
23$"Type '{impl.FullName()}' is a '{implObjType}' in the {Implementation} but is a '{contractObjType}' in the {Contract}."); 31$"Type '{impl.FullName()}' is marked as readonly in the {Contract} so it must also be marked readonly in the {Implementation}.");
Rules\Compat\TypesMustAlwaysImplementIDisposable.cs (1)
20$"Type '{impl.FullName()}' implements IDisposable in the {Implementation} but not the {Contract}.");
Rules\Compat\TypesMustExist.cs (1)
18$"Type '{contract.FullName()}' does not exist in the {Implementation} but it does exist in the {Contract}.");
Rules\InheritanceHierarchyChangeTracker.cs (2)
80item1.FullName(), PrintClassHierarchy(item1BaseClassChain), PrintClassHierarchy(item2BaseClassChain)); 105return String.Join(", ", baseClasses.Reverse().Select(t => t.FullName()));
Microsoft.DotNet.AsmDiff (4)
Csv\DiffNamespaceCsvColumn.cs (3)
26: namespaceDefinition.FullName(); 35: namespaceDefinition.FullName(); 45: namespaceDefinition.FullName();
Csv\DiffObsoletionCsvColumn.cs (1)
29where a.Type.FullName() == "System.ObsoleteAttribute"