12 references to CSharpCciExtensions
Microsoft.Cci.Extensions (11)
Writers\CSharp\CSDeclarationWriter.cs (3)
318if (CSharpCciExtensions.IsKeyword(name)) 475attributes.TryGetAttributeOfType(CSharpCciExtensions.NullableAttributeFullName, out ICustomAttribute nullableAttribute); 525if (escape && CSharpCciExtensions.IsKeyword(id))
Writers\CSharp\CSDeclarationWriter.Generics.cs (2)
60parameter.Attributes.TryGetAttributeOfType(CSharpCciExtensions.NullableAttributeFullName, out ICustomAttribute nullableAttribute); 98nullableAttributeValue = parameter.GetGenericParameterConstraintConstructorArgument(constraintIndex, assemblyLocation, _metadataReaderCache, CSharpCciExtensions.NullableConstructorArgumentParser) ?? nullableAttributeValue;
Writers\CSharp\CSDeclarationWriter.Methods.cs (1)
147byte? nullableContextValue = method.Attributes.GetCustomAttributeArgumentValue<byte?>(CSharpCciExtensions.NullableContextAttributeFullName);
Writers\CSharp\CSDeclarationWriter.Properties.cs (1)
184byte? nullableContextValue = accessor.Attributes.GetCustomAttributeArgumentValue<byte?>(CSharpCciExtensions.NullableContextAttributeFullName);
Writers\CSharp\CSDeclarationWriter.Types.cs (2)
67byte? nullableContextValue = invoke.Attributes.GetCustomAttributeArgumentValue<byte?>(CSharpCciExtensions.NullableContextAttributeFullName); 128nullableAttributeValue = interfaceImplementation.GetInterfaceImplementationAttributeConstructorArgument(typeToken, location, _metadataReaderCache, CSharpCciExtensions.NullableConstructorArgumentParser);
Writers\CSharp\CSharpWriter.cs (2)
94_declarationWriter.ModuleNullableContextValue = assembly.ModuleAttributes.GetCustomAttributeArgumentValue<byte?>(CSharpCciExtensions.NullableContextAttributeFullName); 156byte? value = type.Attributes.GetCustomAttributeArgumentValue<byte?>(CSharpCciExtensions.NullableContextAttributeFullName);
Microsoft.DotNet.AsmDiff (1)
Csv\DiffUnsafeCsvColumn.cs (1)
35return property.Accessors.Any(a => CSharpCciExtensions.IsMethodUnsafe(a.ResolvedMethod));