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