Mono.Cecil.WindowsRuntimeProjections.Project C# (CSharp) Method

Project() public static method

public static Project ( TypeReference type ) : void
type TypeReference
return void
        public static void Project(TypeReference type)
        {
            TypeReferenceTreatment treatment;

            ProjectionInfo info;
            if (Projections.TryGetValue (type.Name, out info) && info.WinRTNamespace == type.Namespace)
                treatment = TypeReferenceTreatment.UseProjectionInfo;
            else
                treatment = GetSpecialTypeReferenceTreatment (type);

            if (treatment != TypeReferenceTreatment.None)
                ApplyProjection (type, new TypeReferenceProjection (type, treatment));
        }

Same methods

WindowsRuntimeProjections::Project ( FieldDefinition field ) : void
WindowsRuntimeProjections::Project ( ICustomAttributeProvider owner, CustomAttribute attribute ) : void
WindowsRuntimeProjections::Project ( Mono.Cecil.MethodDefinition method ) : void
WindowsRuntimeProjections::Project ( Mono.Cecil.TypeDefinition type ) : void